mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Add /tphere, make /tp instantaneous, add images, slight refactoring
This commit is contained in:
1 parent
e37a55b214
commit
6149ebe983
17 files changed
+198
-50
No files matched your search
@@ -27,7 +27,7 @@ public class WarpCommand extends CommandBase implements TabCompletable, ConsoleE
|
||||
});
|
||||
case 1 -> {
|
||||
final String warpName = args[0];
|
||||
plugin.getTeleportManager().teleportToWarp(onlineUser, warpName);
|
||||
plugin.getTeleportManager().teleportToWarpByName(onlineUser, warpName);
|
||||
}
|
||||
default -> plugin.getLocales().getLocale("error_invalid_syntax", "/warp [name]")
|
||||
.ifPresent(onlineUser::sendMessage);
|
||||
|
||||
Reference in new issue
Block a user