summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2013-05-02 13:06:21 -0500
committerTravis Watkins <amaranth@ubuntu.com>2013-05-02 13:06:21 -0500
commit4e7ad051110d31b216b97e393ec905cce5bd47ed (patch)
tree3b368e0eb30f41505ec668b78d62c34b0dafd84a /src/main/java/net
parent25ca3f41afe4a4f2a0b0ceb899afb439910acc80 (diff)
downloadcraftbukkit-4e7ad051110d31b216b97e393ec905cce5bd47ed.tar
craftbukkit-4e7ad051110d31b216b97e393ec905cce5bd47ed.tar.gz
craftbukkit-4e7ad051110d31b216b97e393ec905cce5bd47ed.tar.lz
craftbukkit-4e7ad051110d31b216b97e393ec905cce5bd47ed.tar.xz
craftbukkit-4e7ad051110d31b216b97e393ec905cce5bd47ed.zip
Fix typo/logic error in previous commit
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/World.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 6d3e0221..3a4ddea1 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -2340,7 +2340,7 @@ public abstract class World implements IBlockAccess {
// CraftBukkit start - Split out persistent check, don't apply it to special persistent mobs
if (entity instanceof EntityLiving) {
EntityLiving entityliving = (EntityLiving) entity;
- if (!entityliving.isTypeNotPersistent() && entityliving.bU()) { // Should be isPersistent
+ if (entityliving.isTypeNotPersistent() && entityliving.bU()) { // Should be isPersistent
continue;
}
}