From 1558c5c31d069bbc8c1ee586a2df7488fca8efbf Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 6 Oct 2017 23:34:23 +1100 Subject: [PATCH] * --- .../fawe/object/clipboard/ClipboardRemapper.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/object/clipboard/ClipboardRemapper.java b/core/src/main/java/com/boydti/fawe/object/clipboard/ClipboardRemapper.java index bdd09cb3..33ad4fa6 100644 --- a/core/src/main/java/com/boydti/fawe/object/clipboard/ClipboardRemapper.java +++ b/core/src/main/java/com/boydti/fawe/object/clipboard/ClipboardRemapper.java @@ -342,14 +342,13 @@ public class ClipboardRemapper { for (int data = 4; data < 8; data++) mapPEtoPC.put(new BaseBlock(18,data + 8), new BaseBlock(161,data)); for (int id : new int[] {96, 167}) { // trapdoor - for (int data = 0; data < 4; data++) mapPEtoPC.put(new BaseBlock(id, data), new BaseBlock(id, 3 - data)); - for (int data = 4; data < 12; data++) mapPEtoPC.put(new BaseBlock(id, data), new BaseBlock(id, 15 - data)); - for (int data = 12; data < 15; data++) mapPEtoPC.put(new BaseBlock(id, data), new BaseBlock(id, 27 - data)); - - mapPEtoPC.put(new BaseBlock(id, 0), new BaseBlock(id, 2)); + mapPEtoPC.put(new BaseBlock(id, 2), new BaseBlock(id, 0)); mapPEtoPC.put(new BaseBlock(id, 3), new BaseBlock(id, 1)); - mapPEtoPC.put(new BaseBlock(id, 9), new BaseBlock(id, 7)); mapPEtoPC.put(new BaseBlock(id, 6), new BaseBlock(id, 8)); + mapPEtoPC.put(new BaseBlock(id, 7), new BaseBlock(id, 9)); + for (int data = 0; data < 4; data++) mapPEtoPC.putIfAbsent(new BaseBlock(id, data), new BaseBlock(id, 3 - data)); + for (int data = 4; data < 12; data++) mapPEtoPC.putIfAbsent(new BaseBlock(id, data), new BaseBlock(id, 15 - data)); + for (int data = 12; data < 16; data++) mapPEtoPC.putIfAbsent(new BaseBlock(id, data), new BaseBlock(id, 27 - data)); } return mapPEtoPC;