Covers all possible eventualities of redstone ore and glowing redstone
ore
This commit is contained in:
Sam 2016-07-03 20:57:58 +01:00
parent e96f7f1217
commit 5644589b10

View File

@ -325,7 +325,7 @@ public class RecreationData
}
//Fix for glowing redstone ore
if (expectedState.getType() == Material.REDSTONE_ORE && currentBlock.getType() == Material.GLOWING_REDSTONE_ORE)
if ((expectedState.getType() == Material.REDSTONE_ORE && currentBlock.getType() == Material.GLOWING_REDSTONE_ORE) || (expectedState.getType() == Material.GLOWING_REDSTONE_ORE && currentBlock.getType() == Material.REDSTONE_ORE))
{
score++;
}