From 61ec751ca11f5bff9ec2dd1644982d5628270004 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sat, 14 Jan 2012 21:03:48 +0100 Subject: Update for 1.1_01 renames. We know these updates (can) break plugins bypassing Bukkit. They are needed for smooth updates however. There will be another one right before before 1.1-R1. --- src/main/java/net/minecraft/server/TileEntityChest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/net/minecraft/server/TileEntityChest.java') diff --git a/src/main/java/net/minecraft/server/TileEntityChest.java b/src/main/java/net/minecraft/server/TileEntityChest.java index bceb9d77..9764c8f7 100644 --- a/src/main/java/net/minecraft/server/TileEntityChest.java +++ b/src/main/java/net/minecraft/server/TileEntityChest.java @@ -11,7 +11,7 @@ public class TileEntityChest extends TileEntity implements IInventory { public float f; public float g; public int h; - private int j; + private int ticks; // CraftBukkit start public ItemStack[] getContents() { @@ -175,7 +175,7 @@ public class TileEntityChest extends TileEntity implements IInventory { super.l_(); if (this.world == null) return; // CraftBukkit this.h(); - if (++this.j % (20 * 4) == 0) { // CraftBukkit + if (++this.ticks % (20 * 4) == 0) { // CraftBukkit this.world.playNote(this.x, this.y, this.z, 1, this.h); } -- cgit v1.2.3