mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Revert testCreate change
This commit is contained in:
parent
e4a6bd0ca5
commit
5e2e4a8631
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue