mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Update MsgUtil.java
Former-commit-id: 85806767829609b0d39c96f07f288fedf671c11e [formerly 92002916eb555294038220ac84e0da73f4eccb3c] Former-commit-id: 83f98dc2cdee86f246ab6c93ac5b7aa802f50cb7
This commit is contained in:
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")) {
|
||||
|
||||
Reference in new issue
Block a user