mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Cleanup.
This commit is contained in:
1 parent
38ad0ea5fd
commit
bb730f0ee7
3 files changed
+4
-3
No files matched your search
@@ -823,6 +823,7 @@ public abstract class EntityLiving extends Entity {
|
||||
}
|
||||
|
||||
public void b(NBTTagCompound nbttagcompound) {
|
||||
if (this.health < Short.MIN_VALUE) this.health = Short.MIN_VALUE; // CraftBukkit
|
||||
nbttagcompound.setShort("Health", (short) this.health);
|
||||
nbttagcompound.setShort("HurtTime", (short) this.hurtTicks);
|
||||
nbttagcompound.setShort("DeathTime", (short) this.deathTicks);
|
||||
|
||||
Reference in new issue
Block a user