Cleaned up a few IDE warning

This commit is contained in:
jss2a98aj committed 2023-02-27 15:40:56 -05:00
1 parent fed6530d9d
commit eadf3f76fc
4 files changed
+38 -38

No files matched your search

@@ -10,11 +10,11 @@ import net.minecraft.world.World;
public class CommonProxy implements IGuiHandler {
public KeyHandler keyHandler;
public void registerHandlers() {}
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
@@ -23,17 +23,17 @@ public class CommonProxy implements IGuiHandler {
@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
switch (ID) {
case Baubles.GUI: return new ContainerPlayerExpanded(player.inventory, !world.isRemote, player);
}
if(ID == Baubles.GUI) {
return new ContainerPlayerExpanded(player.inventory, !world.isRemote, player);
}
return null;
}
public World getClientWorld() {
return null;
}
public void registerKeyBindings() {}
}