Fixed #405 - Dusts not falling
This commit is contained in:
parent
2343724567
commit
0bc9aab4ca
1 changed files with 4 additions and 4 deletions
|
@ -63,19 +63,19 @@ public class BlockDust extends BlockTile
|
||||||
@Override
|
@Override
|
||||||
public void onPostBlockPlaced(World world, int x, int y, int z, int metadata)
|
public void onPostBlockPlaced(World world, int x, int y, int z, int metadata)
|
||||||
{
|
{
|
||||||
tryToFall(world, y, x, z);
|
tryToFall(world, x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBlockAdded(World world, int x, int y, int z)
|
public void onBlockAdded(World world, int x, int y, int z)
|
||||||
{
|
{
|
||||||
tryToFall(world, y, x, z);
|
tryToFall(world, x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNeighborBlockChange(World world, int y, int x, int z, int id)
|
public void onNeighborBlockChange(World world, int x, int y, int z, int id)
|
||||||
{
|
{
|
||||||
tryToFall(world, y, x, z);
|
tryToFall(world, x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void tryToFall(World world, int x, int y, int z)
|
private void tryToFall(World world, int x, int y, int z)
|
||||||
|
|
Loading…
Reference in a new issue