Skip to content

Commit

Permalink
Update PlayerMoveListener.java
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Jan 18, 2024
1 parent 75ff776 commit 7a9faf7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class PlayerMoveListener implements Listener {

@EventHandler
public void onPlayerMove(PlayerMoveEvent event) {
if(loadConfig.throwfalldamage()) return;
Player player = event.getPlayer();
if(main.getThrown().contains(player) && player.isOnGround()) {
main.getThrown().remove(player);
Expand Down

0 comments on commit 7a9faf7

Please sign in to comment.