mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
1 parent
1dc45b8286
commit
b7cf0fa590
18 files changed
+111
-67
No files matched your search
@@ -54,7 +54,7 @@ public class RtpCommand extends CommandBase implements ConsoleExecutable {
|
||||
}
|
||||
|
||||
final OnlineUser userToTeleport = target;
|
||||
final boolean isExecutorTeleporting = userToTeleport.uuid.equals(onlineUser.uuid);
|
||||
final boolean isExecutorTeleporting = userToTeleport.equals(onlineUser);
|
||||
plugin.getDatabase().getUserData(onlineUser.uuid).thenAccept(userData -> {
|
||||
// Check the user is not still on /rtp cooldown
|
||||
if (userData.isEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user