diff --git a/Malmo/samples/Python_examples/mouse_steering_test.py b/Malmo/samples/Python_examples/mouse_steering_test.py index 186878f7b..9052794a4 100644 --- a/Malmo/samples/Python_examples/mouse_steering_test.py +++ b/Malmo/samples/Python_examples/mouse_steering_test.py @@ -79,6 +79,8 @@ def GetMissionXML( agent_host, seed, include_beacon ): + + diff --git a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/MazeDecoratorImplementation.java b/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/MazeDecoratorImplementation.java index 54fe23e36..3f3f4d3f4 100755 --- a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/MazeDecoratorImplementation.java +++ b/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/MazeDecoratorImplementation.java @@ -495,7 +495,7 @@ private void findSubgoals(Cell[] grid, Cell start, Cell end) int cellindex = cellx + cellz * width; if (cellindex < 0 || cellindex >= grid.length || grid[cellindex] == null) walkable = false; - if (walkable && gapHeight > optimalPathHeight && !gapBlock.equals(Blocks.AIR.getDefaultState())) + if (walkable && gapHeight > optimalPathHeight && !gapBlock.getBlock().getDefaultState().equals(Blocks.AIR.getDefaultState())) { // The "gaps" are in fact walls, so we need to be a bit more conservative with our path, since the // player has a width of 0.4 cells. We do this in a very unsophisticated, brute-force manor by testing