Change no region message

This commit is contained in:
Jesse Boyd 2016-09-06 02:31:27 +10:00
parent 681eac9f33
commit afddbb9af9

View File

@ -275,7 +275,7 @@ public class EditSession implements Extent {
}
if (allowedRegions != null) {
if (allowedRegions.length == 0) {
this.extent = new NullExtent(this.extent, BBC.NO_REGION);
this.extent = new NullExtent(this.extent, BBC.WORLDEDIT_CANCEL_REASON_NO_REGION);
} else {
this.extent = new ProcessedWEExtent(this.extent, allowedRegions, limit);
}