Fix "x times" on signs.

This commit is contained in:
Alexander Schepp 2012-07-31 13:13:18 +03:00
parent d299309c67
commit 33d7776a8e

View File

@ -412,6 +412,7 @@ public class EssentialsSign
if (item.equalsIgnoreCase("times")) if (item.equalsIgnoreCase("times"))
{ {
sign.setLine(index, (quantity - decrement) + " times"); sign.setLine(index, (quantity - decrement) + " times");
sign.updateSign();
return new Trade(signName.toLowerCase(Locale.ENGLISH) + "sign", ess); return new Trade(signName.toLowerCase(Locale.ENGLISH) + "sign", ess);
} }
else if (item.equalsIgnoreCase("exp") || item.equalsIgnoreCase("xp")) else if (item.equalsIgnoreCase("exp") || item.equalsIgnoreCase("xp"))