mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Move static ITEM_TIER_ORDERING_JSON resourcelocation declaration from anonymous class into outer class to work around eclipse compiler error. (#8018)
This commit is contained in:
1 parent
9165d4c3a1
commit
d612dc3a6d
1 file changed
+1
-2
@@ -68,6 +68,7 @@ import java.util.stream.Collectors;
|
||||
public class TierSortingRegistry
|
||||
{
|
||||
private static final Logger LOGGER = LogManager.getLogger();
|
||||
private static final ResourceLocation ITEM_TIER_ORDERING_JSON = new ResourceLocation("forge", "item_tier_ordering.json");
|
||||
|
||||
/**
|
||||
* Registers a tier into the tier sorting registry.
|
||||
@@ -258,8 +259,6 @@ public class TierSortingRegistry
|
||||
{
|
||||
return new SimplePreparableReloadListener<JsonObject>()
|
||||
{
|
||||
static final ResourceLocation ITEM_TIER_ORDERING_JSON = new ResourceLocation("forge", "item_tier_ordering.json");
|
||||
|
||||
final Gson gson = (new GsonBuilder()).create();
|
||||
|
||||
@Nonnull
|
||||
|
||||
Reference in new issue
Block a user