mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-03 01:21:56 +02:00
Switch to the new I18n class and format cleanup of all classes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package com.earth2me.essentials.spawn;
|
||||
|
||||
import org.bukkit.Server;
|
||||
import static com.earth2me.essentials.I18n._;
|
||||
import com.earth2me.essentials.User;
|
||||
import com.earth2me.essentials.Util;
|
||||
import com.earth2me.essentials.commands.EssentialsCommand;
|
||||
import org.bukkit.Server;
|
||||
|
||||
|
||||
public class Commandsetspawn extends EssentialsCommand
|
||||
@@ -18,6 +18,6 @@ public class Commandsetspawn extends EssentialsCommand
|
||||
{
|
||||
final String group = args.length > 0 ? getFinalArg(args, 0) : "default";
|
||||
ess.getSpawn().setSpawn(user.getLocation(), group);
|
||||
user.sendMessage(Util.format("spawnSet", group));
|
||||
user.sendMessage(_("spawnSet", group));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user