From 3a9622cbdc495203ed766e7d10c7d6cc911aaaa5 Mon Sep 17 00:00:00 2001 From: Nate Mortensen Date: Tue, 2 Jul 2013 11:36:31 -0600 Subject: [PATCH] Fix Entity persistence. Fixes BUKKIT-4397 Missed diff. --- src/main/java/net/minecraft/server/EntityInsentient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java index 49c2c95f94..f913a40521 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;