Converted LogoutTasks to logoutListener lambdas.

This commit is contained in:
ceikry 2022-03-28 20:56:32 -05:00
parent 3206662dc8
commit 17101e3221

View file

@ -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;
}
});