Fixed teleport on logout for pest control landers

This commit is contained in:
sirdabalot 2025-03-25 09:49:09 +00:00 committed by Ryan
parent 47ac5e93d6
commit fc2247f457

View file

@ -80,7 +80,7 @@ public final class PCLanderZone extends MapZone {
for (PestControlActivityPlugin a : activities) { for (PestControlActivityPlugin a : activities) {
if (a.getWaitingPlayers().remove(e)) { if (a.getWaitingPlayers().remove(e)) {
if (logout) { if (logout) {
e.getProperties().setTeleportLocation(a.getLeaveLocation()); e.setLocation(a.getLeaveLocation());
} }
break; break;
} }