Class PlayerMoveListener
java.lang.Object
com.ranull.graves.listener.PlayerMoveListener
- All Implemented Interfaces:
org.bukkit.event.Listener
Listener for handling PlayerMoveEvent to manage interactions with graves and related mechanics.
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerMoveListener(Graves plugin) Constructs a PlayerMoveListener with the specified Graves plugin. -
Method Summary
Modifier and TypeMethodDescriptionvoidonPlayerMove(org.bukkit.event.player.PlayerMoveEvent event) Handles the PlayerMoveEvent to manage interactions with graves and update player locations.
-
Constructor Details
-
PlayerMoveListener
Constructs a PlayerMoveListener with the specified Graves plugin.- Parameters:
plugin- The Graves plugin instance.
-
-
Method Details
-
onPlayerMove
public void onPlayerMove(org.bukkit.event.player.PlayerMoveEvent event) Handles the PlayerMoveEvent to manage interactions with graves and update player locations.- Parameters:
event- The PlayerMoveEvent to handle.
-