character sizes, ..
This commit is contained in:
parent
74f730e450
commit
517e7d74f9
42 changed files with 405 additions and 209 deletions
|
@ -26,7 +26,7 @@ import game.entity.projectile.EntityProjectile;
|
|||
import game.entity.types.EntityLiving;
|
||||
import game.gui.Gui;
|
||||
import game.gui.GuiConsole;
|
||||
import game.gui.GuiSkin;
|
||||
import game.gui.GuiChar;
|
||||
import game.gui.container.GuiMachine;
|
||||
import game.gui.container.GuiMerchant;
|
||||
import game.init.EntityRegistry;
|
||||
|
@ -180,7 +180,7 @@ public class ClientPlayer extends NetHandler
|
|||
this.gameController.loadWorld(this.clientWorldController, packetIn.getEntityType());
|
||||
// this.gameController.thePlayer.dimension = this.clientWorldController.dimension.getDimensionId();
|
||||
this.gameController.thePlayer.setId(packetIn.getEntityId());
|
||||
this.gameController.displayGuiScreen(this.gameController.charEditor ? GuiSkin.INSTANCE : null);
|
||||
this.gameController.displayGuiScreen(this.gameController.charEditor ? GuiChar.INSTANCE : null);
|
||||
// this.currentServerMaxPlayers = packetIn.getMaxPlayers();
|
||||
// this.gameController.controller.setCheat(packetIn.getCheat());
|
||||
// this.gameController.updateViewDistance();
|
||||
|
@ -442,8 +442,8 @@ public class ClientPlayer extends NetHandler
|
|||
{
|
||||
entity.getDataWatcher().updateWatchedObjectsFromList(packetIn.func_149376_c());
|
||||
|
||||
if(entity == this.gameController.thePlayer && this.gameController.open instanceof GuiSkin)
|
||||
((GuiSkin)this.gameController.open).checkReopen();
|
||||
if(entity == this.gameController.thePlayer && this.gameController.open instanceof GuiChar)
|
||||
((GuiChar)this.gameController.open).checkReopen();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1022,7 +1022,7 @@ public class ClientPlayer extends NetHandler
|
|||
// }
|
||||
|
||||
this.gameController.setDimensionAndSpawnPlayer(dim.getDimensionId(), packetIn.getEntityType());
|
||||
this.gameController.displayGuiScreen(this.gameController.charEditor ? GuiSkin.INSTANCE : null);
|
||||
this.gameController.displayGuiScreen(this.gameController.charEditor ? GuiChar.INSTANCE : null);
|
||||
// this.gameController.controller.setCheat(packetIn.getCheat());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue