Small fix
This commit is contained in:
@@ -24,7 +24,6 @@ public abstract class GuiBase extends GuiContainer {
|
||||
|
||||
private int lastButtonId = 0;
|
||||
private int lastSideButtonY = 6;
|
||||
private String sideButtonTooltip;
|
||||
|
||||
private Scrollbar scrollbar;
|
||||
|
||||
@@ -104,7 +103,7 @@ public abstract class GuiBase extends GuiContainer {
|
||||
mouseX -= guiLeft;
|
||||
mouseY -= guiTop;
|
||||
|
||||
sideButtonTooltip = null;
|
||||
String sideButtonTooltip = null;
|
||||
|
||||
for (SideButton sideButton : sideButtons) {
|
||||
sideButton.draw(this, sideButton.getX() + 2, sideButton.getY() + 1);
|
||||
|
||||
@@ -12,9 +12,6 @@ import refinedstorage.tile.ISynchronizedContainer;
|
||||
|
||||
public class MessageTileContainerUpdate implements IMessage, IMessageHandler<MessageTileContainerUpdate, IMessage> {
|
||||
private TileEntity tile;
|
||||
private int x;
|
||||
private int y;
|
||||
private int z;
|
||||
|
||||
public MessageTileContainerUpdate() {
|
||||
}
|
||||
@@ -25,9 +22,9 @@ public class MessageTileContainerUpdate implements IMessage, IMessageHandler<Mes
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
x = buf.readInt();
|
||||
y = buf.readInt();
|
||||
z = buf.readInt();
|
||||
int x = buf.readInt();
|
||||
int y = buf.readInt();
|
||||
int z = buf.readInt();
|
||||
|
||||
if (Minecraft.getMinecraft().theWorld != null) {
|
||||
tile = ClientProxy.getWorld().getTileEntity(new BlockPos(x, y, z));
|
||||
|
||||
Reference in New Issue
Block a user