@@ -7,7 +7,7 @@
|
||||
+ // CraftBukkit start - Store the clicked block
|
||||
+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callBlockIgniteEvent(world, blockposition1, org.bukkit.event.block.BlockIgniteEvent.IgniteCause.FLINT_AND_STEEL, entityhuman).isCancelled()) {
|
||||
+ itemactioncontext.getItemStack().damage(1, entityhuman, (entityhuman1) -> {
|
||||
+ entityhuman1.d(itemactioncontext.n());
|
||||
+ entityhuman1.broadcastItemBreak(itemactioncontext.getHand());
|
||||
+ });
|
||||
+ return EnumInteractionResult.PASS;
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user