diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-14 23:02:10 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-15 10:54:57 +0100 |
commit | a4ce846d07e8f5a0e350e49718aaf3d460658f0f (patch) | |
tree | 82ded19ce8c16a80ec989628a3e35c8e4b0bde24 /src/main/java/net/minecraft/server/ItemDye.java | |
parent | 61ec751ca11f5bff9ec2dd1644982d5628270004 (diff) | |
download | craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar.gz craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar.lz craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.tar.xz craftbukkit-a4ce846d07e8f5a0e350e49718aaf3d460658f0f.zip |
Fix formatting.
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemDye.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemDye.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ItemDye.java b/src/main/java/net/minecraft/server/ItemDye.java index 4ffb2e6d..37ad5513 100644 --- a/src/main/java/net/minecraft/server/ItemDye.java +++ b/src/main/java/net/minecraft/server/ItemDye.java @@ -29,7 +29,7 @@ public class ItemDye extends Item { if (i1 == Block.SAPLING.id) { if (!world.isStatic) { // CraftBukkit start - Player player = (entityhuman instanceof EntityPlayer) ? (Player)entityhuman.getBukkitEntity() : null; + Player player = (entityhuman instanceof EntityPlayer) ? (Player) entityhuman.getBukkitEntity() : null; ((BlockSapling) Block.SAPLING).grow(world, i, j, k, world.random, true, player, itemstack); //--itemstack.count; - called later if the bonemeal attempt was succesful // CraftBukkit end @@ -41,7 +41,7 @@ public class ItemDye extends Item { if (i1 == Block.BROWN_MUSHROOM.id || i1 == Block.RED_MUSHROOM.id) { // CraftBukkit start if (!world.isStatic) { - Player player = (entityhuman instanceof EntityPlayer) ? (Player)entityhuman.getBukkitEntity() : null; + Player player = (entityhuman instanceof EntityPlayer) ? (Player) entityhuman.getBukkitEntity() : null; ((BlockMushroom) Block.byId[i1]).grow(world, i, j, k, world.random, true, player, itemstack); //--itemstack.count; - called later if the bonemeal attempt was succesful // CraftBukkit end |