9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-19 15:09:19 +00:00

clean: suppress warnings

This commit is contained in:
Craftinators
2023-03-01 08:56:49 -05:00
parent b9699b27c7
commit fe9812cd69
2 changed files with 2 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ public class TypeCosmetic extends Type {
@Contract("_, _ -> param2")
@NotNull
@SuppressWarnings("Duplicates")
private ItemMeta processLoreLines(CosmeticUser user, @NotNull ItemMeta itemMeta) {
List<String> processedLore = new ArrayList<>();

View File

@@ -52,6 +52,7 @@ public class TypeEmpty extends Type {
}
@Override
@SuppressWarnings("Duplicates")
public ItemMeta setLore(CosmeticUser user, ConfigurationNode config, @NotNull ItemMeta itemMeta) {
List<String> processedLore = new ArrayList<>();