From cb383c824c3f799e678fb98f29661d79b5a13836 Mon Sep 17 00:00:00 2001 From: Jakub <53441451+kuba6000@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:53:16 +0200 Subject: Use mixins accessors + some misc fixes (#77) * Change reflections to mixins * Wrap witchery checking * Remove more repeating code * hmm * test generation * test * client sided * Update CommandCustomDrops.java * Update MobRecipeLoader.java * Save to static variable * Imports * Log message * Convert InfernalHelper to mixin accessors * Update build.gradle * One more * Return class nodes to optimize * Translations mixin * Automatically add commands * Fixes * Fix https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/12021 * Update kubatech.java * Update CommonProxy.java * Unnecessary qualified reference * Simplify ItemUtils * Check if single player diffrently * Remove accessor for infernal-mobs --- src/main/java/kubatech/CommonProxy.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/main/java/kubatech/CommonProxy.java') diff --git a/src/main/java/kubatech/CommonProxy.java b/src/main/java/kubatech/CommonProxy.java index b0d8446211..267efdab21 100644 --- a/src/main/java/kubatech/CommonProxy.java +++ b/src/main/java/kubatech/CommonProxy.java @@ -36,11 +36,7 @@ import cpw.mods.fml.common.event.FMLServerStartingEvent; import cpw.mods.fml.common.event.FMLServerStoppedEvent; import cpw.mods.fml.common.event.FMLServerStoppingEvent; import kubatech.api.LoaderReference; -import kubatech.commands.CommandBees; -import kubatech.commands.CommandConfig; import kubatech.commands.CommandHandler; -import kubatech.commands.CommandHelp; -import kubatech.commands.CommandTea; import kubatech.config.Config; import kubatech.loaders.MTLoader; import kubatech.loaders.RecipeLoader; @@ -76,10 +72,6 @@ public class CommonProxy { public void serverStarting(FMLServerStartingEvent event) { RecipeLoader.addRecipesLate(); CommandHandler cmd = new CommandHandler(); - cmd.addCommand(new CommandHelp()); - cmd.addCommand(new CommandConfig()); - cmd.addCommand(new CommandBees()); - cmd.addCommand(new CommandTea()); event.registerServerCommand(cmd); } -- cgit