Fix playerevent not apply i18n

Former-commit-id: 58cbb6ee09fc05661c389228c9e585a630d91013
This commit is contained in:
Ghost_chu committed 2018-08-02 20:31:50 +08:00
1 parent 6bc931e21d
commit 56c3b1c812
1 file changed
+1 -1
@@ -137,7 +137,7 @@ public class PlayerListener implements Listener {
// Send creation menu.
Info info = new Info(b.getLocation(), ShopAction.CREATE, e.getItem(), last);
plugin.getShopManager().getActions().put(p.getUniqueId(), info);
p.sendMessage(MsgUtil.getMessage("how-much-to-trade-for", Util.getName(info.getItem())));
p.sendMessage(MsgUtil.getMessage("how-much-to-trade-for", MsgUtil.getItemi18n(Util.getName(info.getItem()))));
}
}