SPIGOT-2408: setTicksLived does not properly affect FallingSand

Dieser Commit ist enthalten in:
md_5 2016-06-13 18:16:15 +10:00
Ursprung 7f1a32252b
Commit fb568fdc70

Datei anzeigen

@ -57,4 +57,12 @@ public class CraftFallingSand extends CraftEntity implements FallingSand {
public void setHurtEntities(boolean hurtEntities) {
getHandle().hurtEntities = hurtEntities;
}
@Override
public void setTicksLived(int value) {
super.setTicksLived(value);
// Second field for EntityFallingBlock
getHandle().ticksLived = value;
}
}