summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-02-01 23:16:25 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-02-01 23:18:11 +0000
commite0416ca7fb4057496d1fcd9159e3602a44416d18 (patch)
tree4aac2333b55f7b871ae5965b6790d00adb8ac866 /src/main/java/net
parentd228e0c311a1311addf73a07a2c8ac1cf7c3b97b (diff)
downloadcraftbukkit-e0416ca7fb4057496d1fcd9159e3602a44416d18.tar
craftbukkit-e0416ca7fb4057496d1fcd9159e3602a44416d18.tar.gz
craftbukkit-e0416ca7fb4057496d1fcd9159e3602a44416d18.tar.lz
craftbukkit-e0416ca7fb4057496d1fcd9159e3602a44416d18.tar.xz
craftbukkit-e0416ca7fb4057496d1fcd9159e3602a44416d18.zip
Added CraftDispenser.dispense()
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/BlockDispenser.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockDispenser.java b/src/main/java/net/minecraft/server/BlockDispenser.java
index 7a0231f7..aabbd03e 100644
--- a/src/main/java/net/minecraft/server/BlockDispenser.java
+++ b/src/main/java/net/minecraft/server/BlockDispenser.java
@@ -84,7 +84,8 @@ public class BlockDispenser extends BlockContainer {
}
}
- private void b(World world, int i, int j, int k, Random random) {
+ // Craftbukkit - following method should be public
+ public void b(World world, int i, int j, int k, Random random) {
int l = world.getData(i, j, k);
float f = 0.0F;
float f1 = 0.0F;