Class QuitListener

java.lang.Object
adhdmc.simplepms.listeners.QuitListener
All Implemented Interfaces:
org.bukkit.event.Listener

public class QuitListener extends Object implements org.bukkit.event.Listener
  • Field Details

    • spyingPlayers

      private final HashSet<org.bukkit.entity.Player> spyingPlayers
  • Constructor Details

    • QuitListener

      public QuitListener()
  • Method Details

    • onPlayerQuit

      public void onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent quitEvent)
      Clears players from spyingPlayers when they quit the game
      Parameters:
      quitEvent - PlayerQuitEvent