forked from LogBlock/LogBlock
There can only one of selection/location be set
This commit is contained in:
@ -879,11 +879,13 @@ public final class QueryParams implements Cloneable {
|
||||
|
||||
public void setLocation(Location loc) {
|
||||
this.loc = loc;
|
||||
this.sel = null;
|
||||
world = loc.getWorld();
|
||||
}
|
||||
|
||||
public void setSelection(CuboidRegion container) {
|
||||
this.sel = container;
|
||||
this.loc = null;
|
||||
world = sel.getWorld();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user