mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-04-09 09:26:02 +00:00
portals save and load + portals execute rtp
This commit is contained in:
@@ -36,7 +36,7 @@ public class RTPPlayer {
|
||||
Location loc = pWorld.generateRandomXZ(settings.defaultWorld); //randomLoc(pWorld);
|
||||
CompletableFuture<Chunk> chunk = PaperLib.getChunkAtAsync(pWorld.getWorld(), loc.getBlockX(), loc.getBlockZ());
|
||||
chunk.thenAccept(result -> {
|
||||
BetterRTP.debug("Checking location for " + p.getName());
|
||||
//BetterRTP.debug("Checking location for " + p.getName());
|
||||
Location tpLoc;
|
||||
float yaw = p.getLocation().getYaw();
|
||||
float pitch = p.getLocation().getPitch();
|
||||
|
||||
@@ -3,5 +3,6 @@ package me.SuperRonanCraft.BetterRTP.player.rtp;
|
||||
public enum RTP_TYPE {
|
||||
COMMAND, //Player executed command
|
||||
FORCED, //Player was forced to rtp (/rtp player <player>)
|
||||
JOIN //Player joined and was rtp'd automatically
|
||||
JOIN, //Player joined and was rtp'd automatically
|
||||
ADDON //Player RTP'd from the external addons plugin
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user