mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-16 02:34:21 +00:00
Future Java versions may not support _ as identifier.
This commit is contained in:
parent
0b5718f7ff
commit
5724c0c8df
176 changed files with 1032 additions and 1028 deletions
|
@ -1,7 +1,7 @@
|
|||
package com.earth2me.essentials.commands;
|
||||
|
||||
import com.earth2me.essentials.CommandSource;
|
||||
import static com.earth2me.essentials.I18n._;
|
||||
import static com.earth2me.essentials.I18n.tl;
|
||||
import com.earth2me.essentials.User;
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.entity.Player;
|
||||
|
@ -31,7 +31,7 @@ public class Commandext extends EssentialsLoopCommand
|
|||
if (args.length < 1)
|
||||
{
|
||||
extPlayer(user.getBase());
|
||||
user.sendMessage(_("extinguish"));
|
||||
user.sendMessage(tl("extinguish"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class Commandext extends EssentialsLoopCommand
|
|||
protected void updatePlayer(final Server server, final CommandSource sender, final User player, final String[] args)
|
||||
{
|
||||
extPlayer(player.getBase());
|
||||
sender.sendMessage(_("extinguishOthers", player.getDisplayName()));
|
||||
sender.sendMessage(tl("extinguishOthers", player.getDisplayName()));
|
||||
}
|
||||
|
||||
private void extPlayer(final Player player)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue