fix: mob cap counting for each connected plot individually (#3643)

cap meta is now handled in the base plot
This commit is contained in:
Bernhard 2022-06-10 01:27:39 +02:00 committed by GitHub
parent a79c474957
commit 3c75b170f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ public class EntityEventListener implements Listener {
}
return;
}
if (BukkitEntityUtil.checkEntity(entity, plot)) {
if (BukkitEntityUtil.checkEntity(entity, plot.getBasePlot(false))) {
event.setCancelled(true);
}
}