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
public void t_() {
// Checks every 20 ticks.
if (ticksLived % 20 == 0) {
// The item dies without a vehicle.
if (this.vehicle == null) {
die();
}
}
// So it won't get removed.
ticksLived = 0;
if (!lockTick) {
super.t_();