Fix controlpanel the price

Former-commit-id: 3e9f5f9c658fa31aa4ea43d1d7046cb8f616fdf2 [formerly 51837aefcef5e3f3ffe354b4642770c1dc33094b]
Former-commit-id: bde5f15089a7fbb634c23729a6381481f9fe9d74
This commit is contained in:
Ghost_chu committed 2018-11-22 16:02:05 +08:00
1 parent cf11e8c596
commit 8a5545c2f8
1 file changed
+1 -1
@@ -299,7 +299,7 @@ public class MsgUtil {
}
}
// Set Price
if (sender.hasPermission("quickshop.other.price")) {
if (sender.hasPermission("quickshop.other.price")||shop.getOwner().equals(((Player)sender).getUniqueId())) {
String Text = MsgUtil.getMessage("controlpanel.price", String.valueOf(shop.getPrice()));
String hoverText = MsgUtil.getMessage("controlpanel.mode-buying-hover");
String type = "price";