mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
Fix typo/logic error in previous commit
This commit is contained in:
parent
25ca3f41af
commit
4e7ad05111
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue