mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-04 13:01:42 +00:00
Switch to the new I18n class and format cleanup of all classes
This commit is contained in:
parent
19f5a2340d
commit
220d68f375
207 changed files with 1247 additions and 1306 deletions
|
@ -1,6 +1,6 @@
|
|||
package com.earth2me.essentials.commands;
|
||||
|
||||
import com.earth2me.essentials.Util;
|
||||
import static com.earth2me.essentials.I18n._;
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
@ -32,7 +32,7 @@ public class Commandkill extends EssentialsCommand
|
|||
}
|
||||
|
||||
matchPlayer.setHealth(0);
|
||||
sender.sendMessage(Util.format("kill", matchPlayer.getDisplayName()));
|
||||
sender.sendMessage(_("kill", matchPlayer.getDisplayName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue