From 3651b3ac8d6e8d68427d13304836fcf6dd5d775b Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 6 Apr 2019 23:14:39 +1100 Subject: [PATCH] I don't know about coffee, but how about Java? @sauilitired --- .../plotsquared/bukkit/listeners/EntitySpawnListener.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java index d2b1270eb..a7d8133c6 100644 --- a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java +++ b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/EntitySpawnListener.java @@ -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); }