mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Fixed teleport on logout for pest control landers
This commit is contained in:
parent
47ac5e93d6
commit
fc2247f457
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue