Fix isOnGround issue with shape judgment.

This commit is contained in:
asofold 2013-03-05 21:36:30 +01:00
parent 3ad9ba3993
commit 8762d38020

View File

@ -1667,6 +1667,7 @@ public class BlockProperties {
if (variable){
// Simplistic hot fix attempt for same type + same shape.
if (isFullBounds(bounds) || isSameShape(bounds, aboveBounds)){
// TODO: Test with cactus.
continue;
}
else{
@ -1714,10 +1715,10 @@ public class BlockProperties {
for (int i = 0; i < 6; i++){
if (bounds1[i] != bounds2[i]){
// Simplistic.
return true;
return false;
}
}
return false;
return true;
}
/**