From 9ad7a6d6ab51e6216ea4372ffd262474063af4ed Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 21 Oct 2014 16:51:47 +1100 Subject: [PATCH] fixed sign id --- PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java b/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java index f68159e9f..5ac7b97a9 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java @@ -231,7 +231,7 @@ public class PlotHelper { Block bs = loc.getBlock(); bs.setType(Material.AIR); bs.setTypeIdAndData(Material.WALL_SIGN.getId(), (byte) 2, false); - String id = p.id.y + ";" + p.id.x; + String id = p.id.x + ";" + p.id.y; Sign sign = (Sign) bs.getState(); sign.setLine(0, C.OWNER_SIGN_LINE_1.translated().replaceAll("%id%", id)); sign.setLine(1, C.OWNER_SIGN_LINE_2.translated().replaceAll("%id%", id).replaceAll("%plr%", plr.getName()));