Class Teleport

java.lang.Object
de.redstoneworld.redutilities.player.Teleport

public class Teleport extends Object
  • Constructor Details

    • Teleport

      public Teleport()
  • Method Details

    • teleportSafely

      public static void teleportSafely(org.bukkit.entity.Player player, org.bukkit.Location targetLocation)
      This method teleports the player to the specified location. The velocity and fall-damage is set to zero so that the player does not take over any fall damage due to the previous fall / fly. This is mainly relevant in the 'Survival-Mode'.
      Parameters:
      player - (Player) the target player
      targetLocation - (Location) the target teleport-location