Moved entity & teleport methods out of Util class
This commit is contained in:
parent
c1eecefa6f
commit
55fec1d092
9 changed files with 831 additions and 833 deletions
|
|
@ -11,6 +11,7 @@ import net.coreprotect.language.Phrase;
|
|||
import net.coreprotect.utility.Chat;
|
||||
import net.coreprotect.utility.ChatMessage;
|
||||
import net.coreprotect.utility.Color;
|
||||
import net.coreprotect.utility.Teleport;
|
||||
import net.coreprotect.utility.Util;
|
||||
|
||||
public class TeleportCommand {
|
||||
|
|
@ -103,7 +104,7 @@ public class TeleportCommand {
|
|||
}
|
||||
|
||||
// Teleport the player to a safe location
|
||||
Util.performSafeTeleport(((Player) player), location, true);
|
||||
Teleport.performSafeTeleport(((Player) player), location, true);
|
||||
|
||||
ConfigHandler.teleportThrottle.put(player.getName(), new Object[] { false, System.currentTimeMillis() });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue