mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Revert testCreate change
This commit is contained in:
parent
e4a6bd0ca5
commit
5e2e4a8631
@ -50,7 +50,8 @@ public class EntitySpawnListener implements Listener {
|
|||||||
|
|
||||||
public static void testCreate(final Entity entity) {
|
public static void testCreate(final Entity entity) {
|
||||||
@NotNull World world = entity.getWorld();
|
@NotNull World world = entity.getWorld();
|
||||||
if (!areaName.equals(world.getName())) {
|
if (areaName == world.getName()) {
|
||||||
|
} else {
|
||||||
areaName = world.getName();
|
areaName = world.getName();
|
||||||
hasPlotArea = PlotSquared.get().hasPlotArea(areaName);
|
hasPlotArea = PlotSquared.get().hasPlotArea(areaName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user