mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-22 02:45:10 -06:00
Converted LogoutTasks to logoutListener lambdas.
This commit is contained in:
parent
3206662dc8
commit
17101e3221
1 changed files with 1 additions and 0 deletions
|
|
@ -289,6 +289,7 @@ public final class WaterfallPlugin extends OptionHandler {
|
|||
public boolean pulse() {
|
||||
player.getPacketDispatch().sendMessage("You are washed downstream but feel lucky to be alive.");
|
||||
player.teleport(new Location(2527, 3413));
|
||||
player.logoutListeners.remove("waterfall");
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue