mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-23 23:55:33 +02:00
I don't know about coffee, but how about Java? @sauilitired
This commit is contained in:
@@ -49,12 +49,11 @@ public class EntitySpawnListener implements Listener {
|
|||||||
public static void testCreate(Entity entity) {
|
public static void testCreate(Entity entity) {
|
||||||
@NotNull World world = entity.getWorld();
|
@NotNull World world = entity.getWorld();
|
||||||
if (areaName == world.getName()) {
|
if (areaName == world.getName()) {
|
||||||
if (!hasPlotArea) return;
|
|
||||||
} else {
|
} else {
|
||||||
areaName = world.getName();
|
areaName = world.getName();
|
||||||
hasPlotArea = PlotSquared.get().hasPlotArea(areaName);
|
hasPlotArea = PlotSquared.get().hasPlotArea(areaName);
|
||||||
if (!hasPlotArea) return;
|
|
||||||
}
|
}
|
||||||
|
if (!hasPlotArea) return;
|
||||||
test(entity);
|
test(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user