Attempt to fix icons disappearing.

This commit is contained in:
filoghost 2015-04-11 18:10:50 +02:00
parent 2187a7670a
commit 9aed0941f8

View File

@ -37,13 +37,9 @@ public class EntityNMSItem extends EntityItem implements NMSItem {
@Override @Override
public void t_() { public void t_() {
// Checks every 20 ticks.
if (ticksLived % 20 == 0) { // So it won't get removed.
// The item dies without a vehicle. ticksLived = 0;
if (this.vehicle == null) {
die();
}
}
if (!lockTick) { if (!lockTick) {
super.t_(); super.t_();