81 |
|
|
82 |
String parts[] = line1.split("x"); |
String parts[] = line1.split("x"); |
83 |
width = Integer.parseInt( parts[0] ); |
width = Integer.parseInt( parts[0] ); |
84 |
height = Integer.parseInt( parts[0] ); |
height = Integer.parseInt( parts[1] ); |
85 |
|
|
86 |
if (width <1 || width>5) { |
if (width <1 || width>8) { |
87 |
event.getPlayer().sendMessage("width must be between 1 and 5 (inclusive)"); |
event.getPlayer().sendMessage("width must be between 1 and 8 (inclusive)"); |
88 |
return; |
return; |
89 |
} |
} |
90 |
if (height <2 || height>5) { |
if (height <2 || height>5) { |