Reach and Rail bugfix

This commit is contained in:
LexManos 2012-01-23 20:44:10 +00:00
parent 224597aa3a
commit fa564fb3c5
2 changed files with 7 additions and 2 deletions

View file

@ -50,7 +50,12 @@
}
public void onBlockAdded(World world, int i, int j, int k)
@@ -123,19 +136,19 @@
@@ -119,23 +132,23 @@
j1 &= 7;
}
boolean flag = false;
- if (!world.isBlockNormalCube(i, j - 1, k))
+ if (!world.isBlockSolidOnSide(i, j - 1, k, 1))
{
flag = true;
}

View file

@ -7,7 +7,7 @@
+
public class ItemInWorldManager
{
+ private double blockReachDistance;
+ private double blockReachDistance = 5.0d;
public World thisWorld;
public EntityPlayer thisPlayer;
private int gameType;