Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed May 8, 2024
1 parent 835e3d2 commit 13470a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ public void EDisE(EntityDismountEvent Event) {

Entity bottom = GPM.getPassengerUtil().getBottomEntity(Event.getDismounted());

if(GPM.getCManager().PS_BOTTOM_RETURN && Event.getEntity().isValid() && Event.getEntity() instanceof Player && GPM.getPackageUtil() != null) Bukkit.getPlayer(Event.getEntity().getUniqueId()).teleportAsync(bottom.getLocation());
if(GPM.getCManager().PS_BOTTOM_RETURN && Event.getEntity().isValid() && Event.getEntity() instanceof Player && GPM.getPackageUtil() != null) Bukkit.getPlayer(Event.getEntity().getUniqueId()).teleport(bottom.getLocation());

if(Event.getDismounted().getScoreboardTags().contains(GPM.NAME + "_PlayerSeatEntity") && GPM.getPackageUtil() == null) Bukkit.getPlayer(Event.getDismounted().getUniqueId()).teleportAsync(bottom.getLocation());
if(Event.getDismounted().getScoreboardTags().contains(GPM.NAME + "_PlayerSeatEntity") && GPM.getPackageUtil() == null) Bukkit.getPlayer(Event.getDismounted().getUniqueId()).teleport(bottom.getLocation());

GPM.getPlayerSitManager().stopPlayerSit(Event.getDismounted(), GetUpReason.GET_UP);

Expand Down

0 comments on commit 13470a5

Please sign in to comment.