Remove final from instanceof check in Config (#26)
Eclipse reaaaally hates this `final` here and it looks weird to the rest of us. Since the MDK should work for all IDEs. we should remove that `final`.
This commit is contained in:
parent
6bc4a12ecf
commit
f5f4feccd9
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class Config
|
|||
|
||||
private static boolean validateItemName(final Object obj)
|
||||
{
|
||||
return obj instanceof final String itemName && BuiltInRegistries.ITEM.containsKey(new ResourceLocation(itemName));
|
||||
return obj instanceof String itemName && BuiltInRegistries.ITEM.containsKey(new ResourceLocation(itemName));
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
|
|
Loading…
Reference in a new issue