mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 00:38:11 +00:00
Change the functionality of :bounds.
This commit is contained in:
@@ -101,7 +101,7 @@ public final class Npc extends Mob {
|
||||
* @param boundary The boundary.
|
||||
*/
|
||||
public void setBoundary(Position[] boundary) {
|
||||
Preconditions.checkArgument(boundary.length == 4, "Boundary count must be 4.");
|
||||
Preconditions.checkArgument(boundary.length == 2, "Boundary count must be 2.");
|
||||
this.boundary = boundary.clone();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user