mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-25 08:35:26 +02:00
fix: mob cap counting for each connected plot individually (#3643)
cap meta is now handled in the base plot
This commit is contained in:
@@ -208,7 +208,7 @@ public class EntityEventListener implements Listener {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (BukkitEntityUtil.checkEntity(entity, plot)) {
|
if (BukkitEntityUtil.checkEntity(entity, plot.getBasePlot(false))) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user