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 20, 2024
1 parent 096d124 commit fda2638
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class PlayerMoveListener implements Listener {
@EventHandler
public void onPlayerMove(PlayerMoveEvent event) {
Player player = event.getPlayer();
if(main.getVelocity.containsKey(player)) {
player.setVelocity(main.getVelocity.get(player));
if(main.getVelocity().containsKey(player)) {
player.setVelocity(main.getVelocity().get(player));
main.getThrown().add(passenger);
}
if(loadConfig.throwfalldamage()) {
Expand Down

0 comments on commit fda2638

Please sign in to comment.