mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
SPIGOT-7740: Fix using new map cursor types
By: md_5 <git@md-5.net>
This commit is contained in:
parent
2b6b2a9f20
commit
4ec75943ed
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ public final class MapCursor {
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setRawType(byte type) {
|
public void setRawType(byte type) {
|
||||||
if (type < 0 || type > 26) {
|
if (type < 0 || type > 34) {
|
||||||
throw new IllegalArgumentException("Type must be in the range 0-26");
|
throw new IllegalArgumentException("Type must be in the range 0-34");
|
||||||
}
|
}
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue