Leaves fix.

This commit is contained in:
Virizion 2016-01-25 21:12:28 -05:00
parent c5dfddd710
commit 2f4146c243

View File

@ -310,6 +310,13 @@ public class RecreationData
score++;
}
//Fix for leaves decay flags
if ((expectedState.getType() == Material.LEAVES && currentBlock.getType() == Material.LEAVES) || ((expectedState.getType() == Material.LEAVES_2 && currentBlock.getType() == Material.LEAVES_2)))
{
if (currentBlock.getData() % 4 == expectedState.getRawData() % 4)
score++;
}
//Fix for corner stair shape
if (currentBlock.getState().getData() instanceof Stairs && expectedState.getData() instanceof Stairs)
{