From 5725e3bdd3817050e62fb946a6295133f60958a1 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Thu, 4 Aug 2016 19:48:11 +1000 Subject: [PATCH] * Wrong limit used --- .../java/com/boydti/fawe/object/extent/ProcessedWEExtent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/object/extent/ProcessedWEExtent.java b/core/src/main/java/com/boydti/fawe/object/extent/ProcessedWEExtent.java index fef759dd..e78da0a2 100644 --- a/core/src/main/java/com/boydti/fawe/object/extent/ProcessedWEExtent.java +++ b/core/src/main/java/com/boydti/fawe/object/extent/ProcessedWEExtent.java @@ -30,11 +30,11 @@ public class ProcessedWEExtent extends FaweRegionExtent { @Override public Entity createEntity(final Location location, final BaseEntity entity) { - if (!limit.MAX_ENTITIES() || entity == null) { + if (entity == null) { return null; } if (WEManager.IMP.maskContains(this.mask, location.getBlockX(), location.getBlockZ())) { - if (!limit.MAX_CHANGES()) { + if (!limit.MAX_ENTITIES()) { WEManager.IMP.cancelEditSafe(this, BBC.WORLDEDIT_CANCEL_REASON_MAX_CHANGES); return null; }