diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-06-12 00:02:58 +0200 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-06-12 00:30:52 +0200 |
commit | 96b1b8a10cec88c724b83541aed6f87b188f5e14 (patch) | |
tree | 7058be20c6adb15cad2c823784b04340b1b1e44f /src/main/java/net/minecraft/server/BlockDispenser.java | |
parent | 938db4de2d86d8cc05c258eeae2c43ef428588f3 (diff) | |
download | craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.gz craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.lz craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.tar.xz craftbukkit-96b1b8a10cec88c724b83541aed6f87b188f5e14.zip |
Generic cleanup
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockDispenser.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockDispenser.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/BlockDispenser.java b/src/main/java/net/minecraft/server/BlockDispenser.java index 4b4bb854..04fbed78 100644 --- a/src/main/java/net/minecraft/server/BlockDispenser.java +++ b/src/main/java/net/minecraft/server/BlockDispenser.java @@ -114,10 +114,8 @@ public class BlockDispenser extends BlockContainer { if (itemstack == null) { world.e(1001, i, j, k, 0); } else { - double d3; - // CraftBukkit start - d3 = random.nextDouble() * 0.1D + 0.2D; + double d3 = random.nextDouble() * 0.1D + 0.2D; double motX = (double) b0 * d3; double motY = 0.20000000298023224D; double motZ = (double) b1 * d3; @@ -167,9 +165,9 @@ public class BlockDispenser extends BlockContainer { world.e(1002, i, j, k, 0); } else { EntityItem entityitem = new EntityItem(world, d0, d1 - 0.3D, d2, itemstack); - // CraftBukkit start - d3 = random.nextDouble() * 0.1D + 0.2D; + // double d3 = random.nextDouble() * 0.1D + 0.2D; // Moved up + entityitem.motX = motX; entityitem.motY = motY; entityitem.motZ = motZ; |