mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
1.3.7.2
Former-commit-id: b055dc87338e6b3c82c9549100d939a8e006f6c8 [formerly b4b17d7e04e4516a3eb1f2ebe234d7200a447407] Former-commit-id: 1367d1db0749b9ed0b0503b09ee5a2d921ae2d44
This commit is contained in:
1 parent
a17f966558
commit
af2df7e16e
2 files changed
+1
-4
No files matched your search
@@ -12,7 +12,6 @@ import org.bukkit.event.block.BlockBreakEvent;
|
||||
import org.bukkit.event.block.BlockPlaceEvent;
|
||||
import org.bukkit.event.entity.EntityExplodeEvent;
|
||||
import org.bukkit.event.player.PlayerInteractEvent;
|
||||
import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.maxgamer.quickshop.QuickShop;
|
||||
import org.maxgamer.quickshop.Shop.Shop;
|
||||
import org.maxgamer.quickshop.Util.MsgUtil;
|
||||
@@ -31,8 +30,6 @@ public class LockListener implements Listener {
|
||||
Player p = e.getPlayer();
|
||||
if (e.getAction() != Action.RIGHT_CLICK_BLOCK)
|
||||
return; // Didn't right click it, we dont care.
|
||||
if(e.getHand() != EquipmentSlot.HAND)
|
||||
return; //Forget the OFF_HAND
|
||||
if (!Util.canBeShop(b,null,true))
|
||||
return; // Interacted with air
|
||||
Shop shop = plugin.getShopManager().getShop(b.getLocation());
|
||||
|
||||
Reference in new issue
Block a user