mirror of
https://github.com/GTNewHorizons/JustEnoughCalculation.git
synced 2026-11-13 16:54:02 +00:00
fix: remove command
This commit is contained in:
1 parent
eff4f29b21
commit
62eef4ffd2
2 files changed
+6
-4
No files matched your search
+1
-1
@@ -4,4 +4,4 @@ org.gradle.jvmargs=-Xmx3G
|
||||
# suppress inspection "UnusedProperty" for whole file
|
||||
mc_version=1.7.10
|
||||
nei_version=2.1.2-GTNH
|
||||
proj_version=3.6.0
|
||||
proj_version=3.6.1
|
||||
@@ -1,15 +1,16 @@
|
||||
package me.towdium.jecalculation.network;
|
||||
|
||||
import cpw.mods.fml.client.registry.ClientRegistry;
|
||||
import me.towdium.jecalculation.command.JecaCommand;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import me.towdium.jecalculation.data.Controller;
|
||||
import me.towdium.jecalculation.data.label.ILabel;
|
||||
import me.towdium.jecalculation.event.Handlers;
|
||||
import net.minecraftforge.client.ClientCommandHandler;
|
||||
|
||||
import static me.towdium.jecalculation.gui.JecaGui.keyOpenGuiCraft;
|
||||
import static me.towdium.jecalculation.gui.JecaGui.keyOpenGuiMath;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ClientHandler {
|
||||
|
||||
public void initPre() {
|
||||
@@ -18,7 +19,8 @@ public class ClientHandler {
|
||||
|
||||
public void initPost() {
|
||||
ILabel.initServer();
|
||||
ClientCommandHandler.instance.registerCommand(new JecaCommand());
|
||||
// May crash: `NoSuchMethodError`.
|
||||
// ClientCommandHandler.instance.registerCommand(new JecaCommand());
|
||||
ILabel.initClient();
|
||||
Controller.loadFromLocal();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user