Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: befcf86d SPIGOT-7740: Fix using new map cursor types 09229095 Add EntityDamageEvent.DamageCause#CAMPFIRE CraftBukkit Changes: a1d2cd152 SPIGOT-7747: Mob head is not dropped when mob was blown up by a charged creeper 8078294bc SPIGOT-7746: Server Crashing when Players Getting into End Portals 8d842e250 SPIGOT-7744: Fix exception for shooting projectiles with flame enchantment 64e0ad129 SPIGOT-7744: Fix crash when shooting arrows in creative mode 819f7a10a Fix player items not dropping on death 0a0229bb5 Implement DamageCause#CAMPFIRE and minor improvement in exception for Unhandled block damage
This commit is contained in:
parent
3f581a6024
commit
e9068d28c6
6 changed files with 8 additions and 8 deletions
|
@ -12,8 +12,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
*/
|
||||
@Deprecated(forRemoval = true, since = "1.20.2") // Paper
|
||||
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");
|
||||
+ if (type < 0 || type > Type.UPPER_MAP_CURSOR_TYPE_BOUND) { // Paper
|
||||
+ throw new IllegalArgumentException("Type must be in the range 0-" + Type.UPPER_MAP_CURSOR_TYPE_BOUND); // Paper
|
||||
}
|
||||
|
|
|
@ -1702,8 +1702,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
- @Deprecated
|
||||
+ @Deprecated(forRemoval = true, since = "1.20.2") // Paper
|
||||
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");
|
||||
@@ -0,0 +0,0 @@ public final class MapCursor {
|
||||
* Gets the internal value of the cursor.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue