Build Error fix

Former-commit-id: 1d2febf770e24ab986a83a92bae311edf1691f22 [formerly 90c528370d167862d189c5fc17897ae7fb86e478]
Former-commit-id: 6002f248668ecaa433beaff74e4ba5b278f93359
This commit is contained in:
Ghost_chu committed 2019-06-18 15:50:43 +08:00
1 parent 5717c45a38
commit 4fc8dbd74c
1 file changed
+2 -2
@@ -651,7 +651,7 @@ public class ShopManager {
// p.sendMessage(ChatColor.RED+"Restricted prices for
// "+info.getItem().getType()+": min "+priceRestriction.getKey()+", max
// "+priceRestriction.getValue());
p.sendMessage(MsgUtil.getMessage("restricted-prices", MsgUtil.getDisplayName(info.getItem()),
p.sendMessage(MsgUtil.getMessage("restricted-prices", Util.getItemStackName(info.getItem()),
String.valueOf(priceRestriction.getKey()), String.valueOf(priceRestriction.getValue())));
}
}
@@ -696,7 +696,7 @@ public class ShopManager {
/* The shop has hereforth been successfully created */
createShop(shop, info);
Location loc = shop.getLocation();
plugin.log(p.getName() + " created a " + MsgUtil.getDisplayName(shop.getItem()) + " shop at ("
plugin.log(p.getName() + " created a " + Util.getItemStackName(shop.getItem()) + " shop at ("
+ loc.getWorld().getName() + " - " + loc.getX() + "," + loc.getY() + "," + loc.getZ() + ")");
if (!plugin.getConfig().getBoolean("shop.lock")) {
// Warn them if they haven't been warned since