mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-22 01:58:54 +00:00
fix Aciton...
This commit is contained in:
parent
8b4e2c5ece
commit
1bf689c39d
@ -41,7 +41,7 @@ public class PlayerListener implements Listener {
|
||||
*/
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
public void onClick(final PlayerInteractEvent e) {
|
||||
if (e.getAction() != Action.LEFT_CLICK_BLOCK) {
|
||||
if (e.getAction() != Action.LEFT_CLICK_BLOCK || e.getMaterial() == plugin.getConfigManager().getSuperItem()) {
|
||||
return;
|
||||
}
|
||||
final Block b = e.getClickedBlock();
|
||||
|
Loading…
Reference in New Issue
Block a user