From 79085c1ecff09373d5fa9be0c172e748bd1485ba Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 17 Jun 2016 00:26:24 +0100 Subject: [PATCH] PC-541 Fixes an issue where glowing redstone ore would not be counted if the expected block was redstone ore. --- .../arcade/game/games/speedbuilders/data/RecreationData.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/speedbuilders/data/RecreationData.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/speedbuilders/data/RecreationData.java index 268434338..4fd17f57c 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/speedbuilders/data/RecreationData.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/speedbuilders/data/RecreationData.java @@ -324,6 +324,11 @@ public class RecreationData score++; } + if (expectedState.getType() == Material.REDSTONE_ORE && currentBlock.getType() == Material.GLOWING_REDSTONE_ORE) + { + score++; + } + //Fix for corner stair shape if (currentBlock.getState().getData() instanceof Stairs && expectedState.getData() instanceof Stairs) {