@@ -12,7 +12,7 @@
|
||||
@@ -27,6 +27,14 @@
|
||||
BlockPosition blockposition1 = blockposition.shift(itemactioncontext.getClickedFace());
|
||||
|
||||
if (BlockFireAbstract.a((GeneratorAccess) world, blockposition1)) {
|
||||
if (BlockFireAbstract.a(world, blockposition1, itemactioncontext.f())) {
|
||||
+ // 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) -> {
|
||||
|
||||
Reference in New Issue
Block a user