mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-24 19:46:34 +01:00
* Wrong limit used
This commit is contained in:
parent
895de11a09
commit
5725e3bdd3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user