Skip to content

Commit

Permalink
fix: Fix API referencing WaystoneTeleportContext instead of IWaystone…
Browse files Browse the repository at this point in the history
…TeleportContext
  • Loading branch information
BlayTheNinth committed Nov 11, 2023
1 parent c569242 commit 9194021
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ public static Either<List<Entity>, WaystoneTeleportError> tryTeleportToWaystone(
return __internalMethods.tryTeleportToWaystone(entity, waystone, warpMode, fromWaystone);
}

public static Either<List<Entity>, WaystoneTeleportError> tryTeleport(IWaystoneTeleportContext context) {
return __internalMethods.tryTeleport(context);
}

/**
* @deprecated Use {@link #tryTeleport(IWaystoneTeleportContext)} instead.
*/
@Deprecated
public static Either<List<Entity>, WaystoneTeleportError> tryTeleport(WaystoneTeleportContext context) {
return __internalMethods.tryTeleport(context);
}
Expand All @@ -39,6 +47,14 @@ public static Either<List<Entity>, WaystoneTeleportError> forceTeleportToWayston
return __internalMethods.forceTeleportToWaystone(entity, waystone);
}

public static List<Entity> forceTeleport(IWaystoneTeleportContext context) {
return __internalMethods.forceTeleport(context);
}

/**
* @deprecated Use {@link #forceTeleport(IWaystoneTeleportContext)} instead.
*/
@Deprecated
public static List<Entity> forceTeleport(WaystoneTeleportContext context) {
return __internalMethods.forceTeleport(context);
}
Expand Down

0 comments on commit 9194021

Please sign in to comment.