SPIGOT-6278: Persistent piglins count towards mob cap

This commit is contained in:
md_5 2022-01-02 11:45:52 +11:00
parent c93fcba47a
commit fb92f345d9
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -56,6 +56,15 @@
}
@VisibleForDebug
@@ -172,7 +200,7 @@
@Override
public boolean removeWhenFarAway(double d0) {
- return !this.isPersistenceRequired();
+ return true; // CraftBukkit - SPIGOT-6278
}
@Override
@@ -205,7 +233,7 @@
@Override