Fixed teleport on logout for pest control landers
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user