From 0f0fd3b60ebb5e9acdd47ea2b8de63a4596996a5 Mon Sep 17 00:00:00 2001 From: Acrobot Date: Wed, 28 Nov 2012 21:31:03 +0100 Subject: [PATCH] Fixed OddItem integration --- com/Acrobot/ChestShop/Listeners/Block/SignChange.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/com/Acrobot/ChestShop/Listeners/Block/SignChange.java b/com/Acrobot/ChestShop/Listeners/Block/SignChange.java index 1f81755..84fe473 100644 --- a/com/Acrobot/ChestShop/Listeners/Block/SignChange.java +++ b/com/Acrobot/ChestShop/Listeners/Block/SignChange.java @@ -210,6 +210,10 @@ public class SignChange implements Listener { } private static String formatItemLine(String line, ItemStack item) { + if (MaterialUtil.Odd.getFromString(line) != null) { + return line; + } + String formatted, data = ""; String[] split = line.split(":|-", 2);