Updated Upstream (Bukkit/CraftBukkit) (#5549)
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: 80ece5de Remove old draft API tags 8523fa23 #604: Add Contract annotation to ConfigurationSection dd8edaa7 #603: Specify what velocity changes in javadocs CraftBukkit Changes: 0d86921e SPIGOT-6435: send correcting "PacketPlayOutBlockChange" packet on interact for bisected items
This commit is contained in:
@@ -52,9 +52,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
// If we denied a door from opening, we need to send a correcting update to the client, as it already opened the door.
|
// If we denied a door from opening, we need to send a correcting update to the client, as it already opened the door.
|
||||||
if (iblockdata.getBlock() instanceof BlockDoor) {
|
if (iblockdata.getBlock() instanceof BlockDoor) {
|
||||||
boolean bottom = iblockdata.get(BlockDoor.HALF) == BlockPropertyDoubleBlockHalf.LOWER;
|
boolean bottom = iblockdata.get(BlockDoor.HALF) == BlockPropertyDoubleBlockHalf.LOWER;
|
||||||
entityplayer.playerConnection.sendPacket(new PacketPlayOutBlockChange(world, bottom ? blockposition.up() : blockposition.down()));
|
@@ -0,0 +0,0 @@ public class PlayerInteractManager {
|
||||||
} else if (iblockdata.getBlock() instanceof BlockCake) {
|
|
||||||
entityplayer.getBukkitEntity().sendHealthUpdate(); // SPIGOT-1341 - reset health for cake
|
// send a correcting update to the client for the block above as well, this because of replaceable blocks (such as grass, sea grass etc)
|
||||||
|
entityplayer.playerConnection.sendPacket(new PacketPlayOutBlockChange(world, blockposition.up()));
|
||||||
+ // Paper start - extend Player Interact cancellation // TODO: consider merging this into the extracted method
|
+ // Paper start - extend Player Interact cancellation // TODO: consider merging this into the extracted method
|
||||||
+ } else if (iblockdata.getBlock() instanceof BlockStructure) {
|
+ } else if (iblockdata.getBlock() instanceof BlockStructure) {
|
||||||
+ entityplayer.playerConnection.sendPacket(new PacketPlayOutCloseWindow());
|
+ entityplayer.playerConnection.sendPacket(new PacketPlayOutCloseWindow());
|
||||||
|
|||||||
Submodule work/Bukkit updated: 6bff9d0996...80ece5de93
Submodule work/CraftBukkit updated: a8d7c94a5b...0d86921e12
Reference in New Issue
Block a user