Fix ItemBlock placement, should fix RP Deployers placing blocks 1 tile down.
This commit is contained in:
parent
e6b61cb33d
commit
57441b8678
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
}
|
}
|
||||||
- else if (var11 != Block.vine.blockID && var11 != Block.tallGrass.blockID && var11 != Block.deadBush.blockID)
|
- else if (var11 != Block.vine.blockID && var11 != Block.tallGrass.blockID && var11 != Block.deadBush.blockID)
|
||||||
+ else if (var11 != Block.vine.blockID && var11 != Block.tallGrass.blockID && var11 != Block.deadBush.blockID
|
+ else if (var11 != Block.vine.blockID && var11 != Block.tallGrass.blockID && var11 != Block.deadBush.blockID
|
||||||
+ && (Block.blocksList[var11] != null && !Block.blocksList[var11].isBlockReplaceable(par3World, par4, par5, par6)))
|
+ && (Block.blocksList[var11] == null || !Block.blocksList[var11].isBlockReplaceable(par3World, par4, par5, par6)))
|
||||||
{
|
{
|
||||||
if (par7 == 0)
|
if (par7 == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue