From 9a4d1e95ea7784f0f98ea2913701a3a3c28aefaa Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 24 May 2018 16:03:42 -0400 Subject: Formatting pass --- .../jewelrycraft/tileentity/TileEntityHandPedestal.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/main/java/darkknight/jewelrycraft/tileentity/TileEntityHandPedestal.java') diff --git a/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityHandPedestal.java b/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityHandPedestal.java index c44cd88..f6fb323 100755 --- a/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityHandPedestal.java +++ b/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityHandPedestal.java @@ -57,7 +57,8 @@ public class TileEntityHandPedestal extends TileEntity { super.readFromNBT(tagCompound); if (tagCompound.hasKey("object", 10)) setHeldItemStack(ItemStack.loadItemStackFromNBT( - tagCompound.getCompoundTag("object"))); + tagCompound.getCompoundTag( + "object"))); else removeHeldItemStack(); isHandOpen = tagCompound.getBoolean("isHandOpen"); @@ -71,7 +72,8 @@ public class TileEntityHandPedestal extends TileEntity { super.updateEntity(); updateGrip(); if (isDirty) { - worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); + worldObj.markBlockForUpdate(xCoord, yCoord, + zCoord); isDirty = false; } } @@ -94,8 +96,8 @@ public class TileEntityHandPedestal extends TileEntity { public Packet getDescriptionPacket() { NBTTagCompound nbttagcompound = new NBTTagCompound(); writeToNBT(nbttagcompound); - return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 0, - nbttagcompound); + return new S35PacketUpdateTileEntity(xCoord, yCoord, + zCoord, 0, nbttagcompound); } /** @@ -129,7 +131,8 @@ public class TileEntityHandPedestal extends TileEntity { * @param heldItemStack */ public void setHeldItemStack(ItemStack heldItemStack) { - if (heldItemStack != null && heldItemStack.getItem() != null) { + if (heldItemStack != null + && heldItemStack.getItem() != null) { heldItemStack.stackSize = 1; this.heldItemStack = heldItemStack; if (heldItemStack.getItem() instanceof ItemBlock) -- cgit v1.2.3