@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/ItemFlintAndSteel.java
|
||||
+++ b/net/minecraft/server/ItemFlintAndSteel.java
|
||||
@@ -14,6 +14,12 @@
|
||||
@@ -16,6 +16,12 @@
|
||||
return EnumInteractionResult.FAIL;
|
||||
} else {
|
||||
if (world.getType(blockposition).getMaterial() == Material.AIR) {
|
||||
@@ -10,6 +10,6 @@
|
||||
+ return EnumInteractionResult.PASS;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
world.a(entityhuman, blockposition, SoundEffects.by, SoundCategory.BLOCKS, 1.0F, ItemFlintAndSteel.j.nextFloat() * 0.4F + 0.8F);
|
||||
world.a(entityhuman, blockposition, SoundEffects.bI, SoundCategory.BLOCKS, 1.0F, ItemFlintAndSteel.j.nextFloat() * 0.4F + 0.8F);
|
||||
world.setTypeAndData(blockposition, Blocks.FIRE.getBlockData(), 11);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user