Update MsgUtil.java

Former-commit-id: 85806767829609b0d39c96f07f288fedf671c11e [formerly 92002916eb555294038220ac84e0da73f4eccb3c]
Former-commit-id: 83f98dc2cdee86f246ab6c93ac5b7aa802f50cb7
This commit is contained in:
jho5245 authored and GitHub committed 2019-11-17 14:55:11 +09:00
1 parent e1a1fb65e7
commit 843e271687
1 file changed
+1 -1
@@ -529,7 +529,7 @@ public class MsgUtil {
* @param shop Target shop
*/
public static void sendControlPanelInfo(@NotNull CommandSender sender, @NotNull Shop shop) {
if ((sender instanceof Player && !((Player sender).isOp()) && !QuickShop.getPermissionManager().hasPermission(sender, "quickshop.use")) {
if ((sender instanceof Player && !((Player) sender).isOp()) && !QuickShop.getPermissionManager().hasPermission(sender, "quickshop.use")) {
return;
}
if (plugin.getConfig().getBoolean("sneak-to-control")) {