summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r--src/main/java/net/minecraft/server/ItemInWorldManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ItemInWorldManager.java b/src/main/java/net/minecraft/server/ItemInWorldManager.java
index 090867c8..8c4a1ae6 100644
--- a/src/main/java/net/minecraft/server/ItemInWorldManager.java
+++ b/src/main/java/net/minecraft/server/ItemInWorldManager.java
@@ -31,7 +31,7 @@ public class ItemInWorldManager {
}
public void a() {
- ++this.h;
+ this.h = (int) (System.currentTimeMillis() / 50); // CraftBukkit
if (this.i) {
int i = this.h - this.m;
int j = this.b.getTypeId(this.j, this.k, this.l);
@@ -52,7 +52,7 @@ public class ItemInWorldManager {
// CraftBukkit added face
public void a(int i, int j, int k, int face) {
- this.d = this.j;
+ this.d = (int) (System.currentTimeMillis() / 50); // CraftBukkit
int l = this.b.getTypeId(i, j, k);
// CraftBukkit start
@@ -106,6 +106,7 @@ public class ItemInWorldManager {
public void b(int i, int j, int k) {
if (i == this.e && j == this.f && k == this.g) {
+ this.h = (int) (System.currentTimeMillis() / 50); // CraftBukkit
int l = this.h - this.d;
int i1 = this.b.getTypeId(i, j, k);