Change the functionality of :bounds.

This commit is contained in:
Major-
2015-03-02 09:37:59 +00:00
parent 57f3c49188
commit 77ecb34109
6 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -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();
}