mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-27 15:23:12 +00:00
Cleaned up a few IDE warning
This commit is contained in:
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() {}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user