@@ -21,7 +21,7 @@
|
||||
+ // CraftBukkit - moved down
|
||||
+ /*
|
||||
itemstack.damage(1, entityhuman, (entityhuman1) -> {
|
||||
entityhuman1.d(entityliving.getRaisedHand());
|
||||
entityhuman1.broadcastItemBreak(entityliving.getRaisedHand());
|
||||
});
|
||||
+ */
|
||||
if (k == 0) {
|
||||
@@ -41,7 +41,7 @@
|
||||
+ }
|
||||
+
|
||||
+ itemstack.damage(1, entityhuman, (entityhuman1) -> {
|
||||
+ entityhuman1.d(entityliving.getRaisedHand());
|
||||
+ entityhuman1.broadcastItemBreak(entityliving.getRaisedHand());
|
||||
+ });
|
||||
+ entitythrowntrident.trident = itemstack.cloneItemStack(); // SPIGOT-4511 update since damage call moved
|
||||
+ // CraftBukkit end
|
||||
@@ -54,7 +54,7 @@
|
||||
+ // CraftBukkit start - SPIGOT-5458 also need in this branch :(
|
||||
+ else {
|
||||
+ itemstack.damage(1, entityhuman, (entityhuman1) -> {
|
||||
+ entityhuman1.d(entityliving.getRaisedHand());
|
||||
+ entityhuman1.broadcastItemBreak(entityliving.getRaisedHand());
|
||||
+ });
|
||||
+ }
|
||||
+ // CraftBukkkit end
|
||||
|
||||
Reference in New Issue
Block a user