diff --git a/Spigot-Server-Patches/Remove-stale-POIs.patch b/Spigot-Server-Patches/Remove-stale-POIs.patch index 94deb927c..bdaea55de 100644 --- a/Spigot-Server-Patches/Remove-stale-POIs.patch +++ b/Spigot-Server-Patches/Remove-stale-POIs.patch @@ -33,8 +33,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 Optional optional1 = VillagePlaceType.b(iblockdata1); + // Paper start -+ if (!optional.isPresent() && this.getPoiStorage().test(blockposition, com.google.common.base.Predicates.alwaysTrue())) -+ this.getPoiStorage().remove(blockposition); ++ this.getMinecraftServer().execute(() -> { ++ if (!optional.isPresent() && this.getPoiStorage().test(blockposition, com.google.common.base.Predicates.alwaysTrue())) { ++ this.getPoiStorage().remove(blockposition); ++ } ++ }); + // Paper end if (!Objects.equals(optional, optional1)) { BlockPosition blockposition1 = blockposition.immutableCopy();