mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 02:49:44 -05:00
Updated to Minecraft version 1.4
This commit is contained in:
1 parent
0635f7c1b8
commit
87c36febeb
84 files changed
+1024
-793
No files matched your search
@@ -17,7 +17,7 @@ public class ItemFlintAndSteel extends Item {
|
||||
public ItemFlintAndSteel(int i) {
|
||||
super(i);
|
||||
this.maxStackSize = 1;
|
||||
this.durability = 64;
|
||||
this.d(64);
|
||||
}
|
||||
|
||||
public boolean a(ItemStack itemstack, EntityHuman entityhuman, World world, int i, int j, int k, int l) {
|
||||
@@ -63,7 +63,7 @@ public class ItemFlintAndSteel extends Item {
|
||||
boolean preventFire = eventIgnite.isCancelled();
|
||||
|
||||
if (preventFire) {
|
||||
itemstack.b(1);
|
||||
itemstack.a(1, entityhuman);
|
||||
return false;
|
||||
}
|
||||
// CraftBukkit end
|
||||
@@ -83,7 +83,7 @@ public class ItemFlintAndSteel extends Item {
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
||||
itemstack.b(1);
|
||||
itemstack.a(1, entityhuman);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user