Leaves fix.
This commit is contained in:
parent
c5dfddd710
commit
2f4146c243
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user