Fix for entity spawning and some code cleanup

This commit is contained in:
Tahg
2011-12-06 19:21:10 -05:00
parent bc8f02788f
commit e4a839cbbc
4 changed files with 15 additions and 16 deletions

View File

@@ -175,7 +175,7 @@ public abstract class EntityLiving extends Entity {
this.extinguish();
} else {
if (this.getAirTicks() != 300) {
if (this.getAirTicks() != 300) { // CraftBukkit -- only set if needed to work around a datawatcher inefficiency
this.setAirTicks(maxAirTicks);
}
}