diff options
author | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-07-02 11:36:31 -0600 |
---|---|---|
committer | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-07-02 11:50:37 -0600 |
commit | 3a9622cbdc495203ed766e7d10c7d6cc911aaaa5 (patch) | |
tree | 92bb6e953119272f52bffb1489428963f33c1775 /src/main/java/net/minecraft | |
parent | 22adf8a3ce1a9482f44d9f1147e8b35535d3a2ff (diff) | |
download | craftbukkit-3a9622cbdc495203ed766e7d10c7d6cc911aaaa5.tar craftbukkit-3a9622cbdc495203ed766e7d10c7d6cc911aaaa5.tar.gz craftbukkit-3a9622cbdc495203ed766e7d10c7d6cc911aaaa5.tar.lz craftbukkit-3a9622cbdc495203ed766e7d10c7d6cc911aaaa5.tar.xz craftbukkit-3a9622cbdc495203ed766e7d10c7d6cc911aaaa5.zip |
Fix Entity persistence. Fixes BUKKIT-4397
Missed diff.
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityInsentient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java index 49c2c95f..f913a405 100644 --- a/src/main/java/net/minecraft/server/EntityInsentient.java +++ b/src/main/java/net/minecraft/server/EntityInsentient.java @@ -23,7 +23,7 @@ public abstract class EntityInsentient extends EntityLiving { private ItemStack[] equipment = new ItemStack[5]; public float[] dropChances = new float[5]; // CraftBukkit - protected -> public public boolean canPickUpLoot; // CraftBukkit - private -> public - public boolean persistent; // CraftBukkit - private -> public + public boolean persistent = !isTypeNotPersistent(); // CraftBukkit - private -> public protected float f; private Entity bu; protected int g; |