mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
Change the functionality of :bounds.
This commit is contained in:
1 parent
57f3c49188
commit
77ecb34109
6 files changed
+13
-8
No files matched your search
@@ -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