Update BCLib

This commit is contained in:
paulevsGitch 2021-06-17 21:41:51 +03:00
parent a98133c00a
commit 70c7cbb6ef
2 changed files with 6 additions and 6 deletions

View file

@ -18,5 +18,5 @@ archives_base_name = better-end
patchouli_version = 50-FABRIC
fabric_version = 0.32.9+1.16
canvas_version = 1.0.+
bclib_version = 0.1.33
bclib_version = 0.1.35
rei_version = 5.8.10

View file

@ -127,7 +127,7 @@ public class EndItems extends ItemsRegistry {
// Drinks //
public final static Item UMBRELLA_CLUSTER_JUICE = registerEndDrink("umbrella_cluster_juice", 5, 0.7F);
private static ItemsRegistry ITEM_REGISTRY;
private static ItemsRegistry itemRegistry;
protected EndItems(CreativeModeTab creativeTab) {
super(creativeTab);
@ -200,7 +200,7 @@ public class EndItems extends ItemsRegistry {
}
public static FabricItemSettings makeEndItemSettings() {
return ITEM_REGISTRY.makeItemSettings();
return itemRegistry.makeItemSettings();
}
@Override
@ -210,9 +210,9 @@ public class EndItems extends ItemsRegistry {
@NotNull
private static ItemsRegistry getItemRegistry() {
if (ITEM_REGISTRY == null) {
ITEM_REGISTRY = new EndItems(CreativeTabs.TAB_ITEMS);
if (itemRegistry == null) {
itemRegistry = new EndItems(CreativeTabs.TAB_ITEMS);
}
return ITEM_REGISTRY;
return itemRegistry;
}
}