[Auto] Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appears 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: 91957aa3 #550: Add getHandlerList into ArrowBodyCountChangeEvent 30dc3e37 Update deprecation message for PotionMeta.setMainEffect CraftBukkit Changes: 6f55306c4 SPIGOT-5794: Only skip interact event if position, hand and itemstack are equal
This commit is contained in:
@@ -13,7 +13,7 @@ Update adjacent blocks of doors, double plants, pistons and beds
|
||||
when cancelling interaction.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerInteractManager.java b/src/main/java/net/minecraft/server/PlayerInteractManager.java
|
||||
index ee59d76d31b8b8cfd39d612b1e6040891f2256f4..36cf4c332054a350ae193637f895a45a8b04da9b 100644
|
||||
index d9ee5f7fd6a405547da0b162f11886d7b96dd622..0aa9b3a0d2aec8072fe32e43ed16946f22b29fab 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerInteractManager.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerInteractManager.java
|
||||
@@ -148,6 +148,11 @@ public class PlayerInteractManager {
|
||||
@@ -28,8 +28,8 @@ index ee59d76d31b8b8cfd39d612b1e6040891f2256f4..36cf4c332054a350ae193637f895a45a
|
||||
this.player.playerConnection.sendPacket(new PacketPlayOutBlockChange(this.world, blockposition));
|
||||
// Update any tile entity data for this block
|
||||
TileEntity tileentity = this.world.getTileEntity(blockposition);
|
||||
@@ -446,13 +451,32 @@ public class PlayerInteractManager {
|
||||
interactResult = event.useItemInHand() == Event.Result.DENY;
|
||||
@@ -452,13 +457,32 @@ public class PlayerInteractManager {
|
||||
interactItemStack = itemstack.cloneItemStack();
|
||||
|
||||
if (event.useInteractedBlock() == Event.Result.DENY) {
|
||||
+
|
||||
|
||||
Submodule work/Bukkit updated: 84fcddbf95...91957aa3b9
Submodule work/CraftBukkit updated: bf3d720714...6f55306c44
Reference in New Issue
Block a user