mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
I don't know about coffee, but how about Java? @sauilitired
This commit is contained in:
parent
b32b8a98e2
commit
3651b3ac8d
1 changed files with 1 additions and 2 deletions
|
@ -49,12 +49,11 @@ public class EntitySpawnListener implements Listener {
|
|||
public static void testCreate(Entity entity) {
|
||||
@NotNull World world = entity.getWorld();
|
||||
if (areaName == world.getName()) {
|
||||
if (!hasPlotArea) return;
|
||||
} else {
|
||||
areaName = world.getName();
|
||||
hasPlotArea = PlotSquared.get().hasPlotArea(areaName);
|
||||
if (!hasPlotArea) return;
|
||||
}
|
||||
if (!hasPlotArea) return;
|
||||
test(entity);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue