Revert testCreate change

This commit is contained in:
Alexander Söderberg 2020-04-07 21:43:32 +02:00
parent e4a6bd0ca5
commit 5e2e4a8631

View file

@ -50,7 +50,8 @@ public class EntitySpawnListener implements Listener {
public static void testCreate(final Entity entity) {
@NotNull World world = entity.getWorld();
if (!areaName.equals(world.getName())) {
if (areaName == world.getName()) {
} else {
areaName = world.getName();
hasPlotArea = PlotSquared.get().hasPlotArea(areaName);
}