mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fix for entity spawning and some code cleanup
This commit is contained in:
1 parent
bc8f02788f
commit
e4a839cbbc
4 files changed
+15
-16
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user