Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Fix permission bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
WetABQ authored May 19, 2019
1 parent 2007bda commit 7e51645
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class QuickShopCommand : Command("qs") {
}
}
"unlimited","ul" -> {
if (sender is Player) {
if (sender is Player && sender.isOp) {
if (InteractionShopListener.interactShop.containsKey(sender.name)) {
val shop = InteractionShopListener.interactShop[sender.name]!!.second
if (shop.shopData.owner.equals(sender.name)) {
Expand Down

0 comments on commit 7e51645

Please sign in to comment.