wow badly formatted code and improper naming get off my lawn

This commit is contained in:
EmotionalLove 2019-12-14 20:46:23 -08:00
parent a21b593c57
commit 56b6fa94e2
1 changed files with 8 additions and 7 deletions

View File

@ -30,9 +30,15 @@ public class VocoShulkerPeek {
public static ItemStack shulker;
public static Minecraft mc;
static {
shulker = ItemStack.EMPTY;
mc = Minecraft.getMinecraft();
}
@EventHandler
public void postinit(FMLPostInitializationEvent event) {
ClientCommandHandler.instance.registerCommand(new VocoShulkerPeek.peekCommand());
ClientCommandHandler.instance.registerCommand(new PeekCommand());
MinecraftForge.EVENT_BUS.register(new ShulkerPreview());
}
@ -53,12 +59,7 @@ public class VocoShulkerPeek {
return null;
}
static {
shulker = ItemStack.EMPTY;
mc = Minecraft.getMinecraft();
}
public class peekCommand extends CommandBase implements IClientCommand {
public static class PeekCommand extends CommandBase implements IClientCommand {
public boolean allowUsageWithoutPrefix(ICommandSender sender, String message) {
return false;
}