Commits
md_5 authored befcf86d22f
180 180 | } |
181 181 | |
182 182 | /** |
183 183 | * Set the type of this cursor. |
184 184 | * |
185 185 | * @param type The type (color/style) of the map cursor. |
186 186 | * @deprecated Magic value |
187 187 | */ |
188 188 | |
189 189 | public void setRawType(byte type) { |
190 - | if (type < 0 || type > 26) { |
191 - | throw new IllegalArgumentException("Type must be in the range 0-26"); |
190 + | if (type < 0 || type > 34) { |
191 + | throw new IllegalArgumentException("Type must be in the range 0-34"); |
192 192 | } |
193 193 | this.type = type; |
194 194 | } |
195 195 | |
196 196 | /** |
197 197 | * Set the visibility status of this cursor. |
198 198 | * |
199 199 | * @param visible True if visible. |
200 200 | */ |
201 201 | public void setVisible(boolean visible) { |