Add javadoc for 3rd party features

This commit is contained in:
HaHaWTH
2023-12-09 20:12:33 +08:00
parent 7bbdce13ea
commit 7fa7d17ba6
2 changed files with 10 additions and 0 deletions
@@ -5,6 +5,10 @@ import org.bukkit.entity.Player;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/**
* This class is a utility class for handling async teleportation of players in game.
*/
public class TeleportUtils {
private static Method teleportAsyncMethod;
@@ -21,6 +25,8 @@ public class TeleportUtils {
}
/**
* Teleport a player to a specified location.
*
* @param player The player to be teleported
* @param location Where should the player be teleported
*/