isOnGround: Fix shape judgment for shape-changing blocks.

This commit is contained in:
asofold 2013-03-05 21:49:16 +01:00
parent 8762d38020
commit f20fc8575d

View File

@ -1666,7 +1666,8 @@ public class BlockProperties {
// TODO: More distinction necessary here.
if (variable){
// Simplistic hot fix attempt for same type + same shape.
if (isFullBounds(bounds) || isSameShape(bounds, aboveBounds)){
// TODO: Needs passable workaround check.
if (isFullBounds(aboveBounds) || isSameShape(bounds, aboveBounds)){
// TODO: Test with cactus.
continue;
}