From 5e7b14f132eb83cf46d9eaef351dbd5a5fc06a33 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Sat, 10 Feb 2018 17:35:25 -0800 Subject: [PATCH] In line compass --- .../factions/zcore/persist/MemoryBoard.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java index 428f5a95..7dacf3ee 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java @@ -253,11 +253,6 @@ public abstract class MemoryBoard extends Board { // Get the compass ArrayList asciiCompass = AsciiCompass.getAsciiCompass(inDegrees, ChatColor.RED, P.p.txt.parse("")); - // Add the compass - ret.add(new FancyMessage(asciiCompass.get(0))); - ret.add(new FancyMessage(asciiCompass.get(1))); - ret.add(new FancyMessage(asciiCompass.get(2))); - int halfWidth = Conf.mapWidth / 2; // Use player's value for height int halfHeight = fplayer.getMapHeight() / 2; @@ -276,7 +271,11 @@ public abstract class MemoryBoard extends Board { for (int dz = 0; dz < height; dz++) { // Draw and add that row FancyMessage row = new FancyMessage(""); - for (int dx = 0; dx < width; dx++) { + + if (dz < 3) { + row.then(asciiCompass.get(dz)); + } + for (int dx = (dz < 3 ? 6 : 3); dx < width; dx++) { if (dx == halfWidth && dz == halfHeight) { row.then("+").color(ChatColor.AQUA); } else {