mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
Fix typo/logic error in previous commit
This commit is contained in:
parent
25ca3f41af
commit
4e7ad05111
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user