mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-7740: Fix using new map cursor types
This commit is contained in:
parent
0922909504
commit
befcf86d22
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ public final class MapCursor {
|
|||
*/
|
||||
@Deprecated
|
||||
public void setRawType(byte type) {
|
||||
if (type < 0 || type > 26) {
|
||||
throw new IllegalArgumentException("Type must be in the range 0-26");
|
||||
if (type < 0 || type > 34) {
|
||||
throw new IllegalArgumentException("Type must be in the range 0-34");
|
||||
}
|
||||
this.type = type;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue