diff options
author | feildmaster <admin@feildmaster.com> | 2013-01-17 12:17:23 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2013-01-17 12:17:37 -0600 |
commit | d577b840d46b6783da1e011ee4c1617214860942 (patch) | |
tree | 384373bafdb58489def3d7b906781417fcfc454b /src/main/java/net/minecraft | |
parent | 3d133d7abd785bf9327c25a5507abc0d511302f3 (diff) | |
download | craftbukkit-d577b840d46b6783da1e011ee4c1617214860942.tar craftbukkit-d577b840d46b6783da1e011ee4c1617214860942.tar.gz craftbukkit-d577b840d46b6783da1e011ee4c1617214860942.tar.lz craftbukkit-d577b840d46b6783da1e011ee4c1617214860942.tar.xz craftbukkit-d577b840d46b6783da1e011ee4c1617214860942.zip |
Place beds with the correct data. Fixes BUKKIT-3447
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemBed.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemBed.java b/src/main/java/net/minecraft/server/ItemBed.java index e84ccd0a..ca7dc3f8 100644 --- a/src/main/java/net/minecraft/server/ItemBed.java +++ b/src/main/java/net/minecraft/server/ItemBed.java @@ -41,7 +41,7 @@ public class ItemBed extends Item { if (world.isEmpty(i, j, k) && world.isEmpty(i + b0, j, k + b1) && world.v(i, j - 1, k) && world.v(i + b0, j - 1, k + b1)) { // CraftBukkit start //world.setTypeIdAndData(i, j, k, blockbed.id, i1); - if (!ItemBlock.processBlockPlace(world, entityhuman, null, i, j, k, blockbed.id, l)) { + if (!ItemBlock.processBlockPlace(world, entityhuman, null, i, j, k, blockbed.id, i1)) { return false; } // CraftBukkit end |