mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-03 16:13:30 +01:00
Removed unused imports
This commit is contained in:
parent
5793608e08
commit
3ae98741c6
@ -12,7 +12,6 @@ import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.inventory.InventoryClickEvent;
|
||||
import org.bukkit.event.inventory.InventoryCloseEvent;
|
||||
import org.bukkit.event.inventory.InventoryType.SlotType;
|
||||
import org.bukkit.event.player.PlayerKickEvent;
|
||||
import org.bukkit.event.player.PlayerQuitEvent;
|
||||
import org.bukkit.event.server.PluginDisableEvent;
|
||||
import org.bukkit.inventory.InventoryView;
|
||||
@ -33,7 +32,7 @@ public class PanelListenerManager implements Listener {
|
||||
|
||||
// Open the inventory panel that this player has open (they can only ever have one)
|
||||
if (openPanels.containsKey(user.getUniqueId()) &&
|
||||
openPanels.get(user.getUniqueId()).getInventory().equals(event.getInventory())) {
|
||||
openPanels.get(user.getUniqueId()).getInventory().equals(event.getInventory())) {
|
||||
// Cancel the event. If they don't want it to be cancelled then the click handler(s) should
|
||||
// uncancel it. If gui was from our environment, then cancel event anyway.
|
||||
event.setCancelled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user