SPIGOT-6831: Fix llama strength crash

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-12-06 15:15:09 +11:00
parent 24b8f3c641
commit 35fdc9103d
4 changed files with 16 additions and 19 deletions

View File

@@ -58,15 +58,6 @@
Logger logger = EntityVillager.LOGGER;
Objects.requireNonNull(logger);
@@ -630,7 +645,7 @@
super.die(damagesource);
}
- private void releaseAllPois() {
+ public void releaseAllPois() {
this.releasePoi(MemoryModuleType.HOME);
this.releasePoi(MemoryModuleType.JOB_SITE);
this.releasePoi(MemoryModuleType.POTENTIAL_JOB_SITE);
@@ -816,7 +831,12 @@
}