diff options
author | md_5 <git@md-5.net> | 2016-11-28 10:13:49 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-11-28 10:13:49 +1100 |
commit | 0a1e0455e2dea43657debc158a1b1a2282e5516d (patch) | |
tree | 0fb6e1e6bab03a15e4a56727ec833bc69f798d0c /nms-patches/ItemStack.patch | |
parent | d7cce99f018b016e8ffbb9606f5d9a958a4db24b (diff) | |
download | craftbukkit-0a1e0455e2dea43657debc158a1b1a2282e5516d.tar craftbukkit-0a1e0455e2dea43657debc158a1b1a2282e5516d.tar.gz craftbukkit-0a1e0455e2dea43657debc158a1b1a2282e5516d.tar.lz craftbukkit-0a1e0455e2dea43657debc158a1b1a2282e5516d.tar.xz craftbukkit-0a1e0455e2dea43657debc158a1b1a2282e5516d.zip |
SPIGOT-1401: Issues placing blocks adjacent to eachother
Diffstat (limited to 'nms-patches/ItemStack.patch')
-rw-r--r-- | nms-patches/ItemStack.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/ItemStack.patch b/nms-patches/ItemStack.patch index 4af9c3f9..98cf9d84 100644 --- a/nms-patches/ItemStack.patch +++ b/nms-patches/ItemStack.patch @@ -167,7 +167,7 @@ + BlockPosition newblockposition = new BlockPosition(x, y, z); + IBlockData block = world.getType(newblockposition); + -+ if (!(block instanceof BlockTileEntity)) { // Containers get placed automatically ++ if (!(block.getBlock() instanceof BlockTileEntity)) { // Containers get placed automatically + block.getBlock().onPlace(world, newblockposition, block); + } + |