diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-07 15:49:26 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-07 15:49:26 +0000 |
commit | 03fae0a2f757cfd627388ecb631d8f8f393237e4 (patch) | |
tree | d3cbe4dc92637dfe7d36ae9e448d05adde0185d5 /src/main/java/net | |
parent | 03a5bbc6127c86e3c71c9ea293663681d1c6ba40 (diff) | |
download | craftbukkit-03fae0a2f757cfd627388ecb631d8f8f393237e4.tar craftbukkit-03fae0a2f757cfd627388ecb631d8f8f393237e4.tar.gz craftbukkit-03fae0a2f757cfd627388ecb631d8f8f393237e4.tar.lz craftbukkit-03fae0a2f757cfd627388ecb631d8f8f393237e4.tar.xz craftbukkit-03fae0a2f757cfd627388ecb631d8f8f393237e4.zip |
Fixed BLOCK_CANBUILD never throwing
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/World.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index 66938f6a..b1d97e26 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -1625,7 +1625,7 @@ public class World implements IBlockAccess { // CraftBukkit start - We dont want to allow the user to override the bounding box check boolean defaultReturn = axisalignedbb != null && !this.a(axisalignedbb) ? false : (block != Block.WATER && block != Block.STATIONARY_WATER && block != Block.LAVA && block != Block.STATIONARY_LAVA && block != Block.FIRE && block != Block.SNOW ? i > 0 && block == null && block1.a(this, j, k, l) : true); - if (!defaultReturn) { + if (axisalignedbb != null && !this.a(axisalignedbb)) { return false; } |