From 051c058c1a1aea88fe5435ddc69d65fdad04c9b0 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 3 Jan 2013 21:37:18 -0500 Subject: [PATCH] dont revert upstream fixes! whoops! --- .../MobArena/leaderboards/Leaderboard.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/com/garbagemule/MobArena/leaderboards/Leaderboard.java b/src/com/garbagemule/MobArena/leaderboards/Leaderboard.java index 1c15621..e7d0468 100644 --- a/src/com/garbagemule/MobArena/leaderboards/Leaderboard.java +++ b/src/com/garbagemule/MobArena/leaderboards/Leaderboard.java @@ -71,8 +71,9 @@ public class Leaderboard */ public void initialize() { - if (!isGridWellFormed()) + if (!isGridWellFormed()) { return; + } initializeBoards(); initializeStats(); @@ -137,8 +138,9 @@ public class Leaderboard this.cols = getSignCount(current, direction); // Require at least 2x2 to be valid - if (rows <= 1 || cols <= 1) + if (rows <= 1 || cols <= 1) { return false; + } // Get the left-most sign in the current row. Sign first = getAdjacentSign(current, BlockFace.DOWN); @@ -239,10 +241,10 @@ public class Leaderboard { byte data = s.getRawData(); - if (data == 2) return BlockFace.NORTH; - if (data == 3) return BlockFace.SOUTH; - if (data == 4) return BlockFace.WEST; - if (data == 5) return BlockFace.EAST; + if (data == 2) return BlockFace.WEST;//BlockFace.NORTH; + if (data == 3) return BlockFace.EAST;//BlockFace.SOUTH; + if (data == 4) return BlockFace.SOUTH;//BlockFace.WEST; + if (data == 5) return BlockFace.NORTH;//BlockFace.EAST; return null; }