Add TeleportBackEvent, Teleport.Type.BACK type, close #180

This commit is contained in:
William committed 2023-04-03 12:11:11 +01:00
1 parent 0af761d5d6
commit dfeab6f5fc
6 files changed
+92 -36

No files matched your search

@@ -33,6 +33,7 @@ public class BackCommand extends InGameCommand {
.teleporter(executor)
.target(lastPosition.get())
.economyActions(EconomyHook.Action.BACK_COMMAND)
.type(Teleport.Type.BACK)
.toTimedTeleport()
.execute();
} catch (TeleportationException e) {