mirror of
https://e.coding.net/circlecloud/GuiShopManager.git
synced 2024-11-16 01:08:52 +00:00
fix can't open shop while click air...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
769fd577ec
commit
bc9aafb687
@ -3,10 +3,8 @@ package org.black_ixx.bossshop.addon.guishopmanager;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.black_ixx.bossshop.addon.guishopmanager.GuiShopManager;
|
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.EventPriority;
|
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.event.block.BlockPlaceEvent;
|
import org.bukkit.event.block.BlockPlaceEvent;
|
||||||
import org.bukkit.event.entity.PlayerDeathEvent;
|
import org.bukkit.event.entity.PlayerDeathEvent;
|
||||||
@ -67,7 +65,6 @@ public class PlayerListener implements Listener, Reloadable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
|
|
||||||
public void onInteract(PlayerInteractEvent event) {
|
public void onInteract(PlayerInteractEvent event) {
|
||||||
this.plugin.getGSMItems().playerClicked(event);
|
this.plugin.getGSMItems().playerClicked(event);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user