mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 09:47:40 +01:00
SPIGOT-6278: Persistent piglins count towards mob cap
By: md_5 <git@md-5.net>
This commit is contained in:
parent
bde37a649c
commit
f5b1ea90e2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user