1
0
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:
j502647092 2015-10-08 23:18:04 +08:00
parent 8b4e2c5ece
commit 1bf689c39d

View File

@ -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();