Added back register method.
This commit is contained in:
@ -9,11 +9,13 @@ import java.util.HashMap;
|
||||
public class ModItems {
|
||||
public static final RegistryObject<Item> STRAW_TOTEM = Registration.ITEMS.register("straw_totem", );
|
||||
|
||||
ModItems() {
|
||||
static {
|
||||
HashMap<String, Config.Server.TotemConfig> configs = Config.Server.TOTEM_CONFIGS;
|
||||
|
||||
if (configs.get("Straw Totem").IS_ENABLED.get()) {
|
||||
STRAW_TOTEM = Registration.ITEMS.register("straw_totem", );
|
||||
}
|
||||
}
|
||||
|
||||
public static void register() {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user