mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Much renaming and some movement
This commit is contained in:
69 files changed
+621
-606
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package me.william278.huskhomes2.commands;
|
||||
|
||||
import me.william278.huskhomes2.messageManager;
|
||||
import me.william278.huskhomes2.teleportManager;
|
||||
import me.william278.huskhomes2.MessageManager;
|
||||
import me.william278.huskhomes2.teleport.TeleportManager;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
@@ -14,9 +14,9 @@ public class TphereCommand extends CommandBase {
|
||||
Player p = (Player) sender;
|
||||
if (args.length == 1) {
|
||||
String targetPlayer = args[0];
|
||||
teleportManager.teleportHere(p, targetPlayer);
|
||||
TeleportManager.teleportHere(p, targetPlayer);
|
||||
} else {
|
||||
messageManager.sendMessage(p, "error_invalid_syntax", command.getUsage());
|
||||
MessageManager.sendMessage(p, "error_invalid_syntax", command.getUsage());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user