mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-06 20:42:56 +00:00
Lang changes
This commit is contained in:
parent
a049433bf4
commit
3d47b9faf8
22 changed files with 384 additions and 279 deletions
|
@ -20,7 +20,7 @@ public class EffectsCommandModule implements CommandModule {
|
|||
return;
|
||||
}
|
||||
|
||||
String toSend = Lang.USE.get() + " ";
|
||||
String toSend = LangManager.getText(Lang.USE) + " ";
|
||||
for (ParticleEffect effect : ParticleEffect.getSupportedEffects()) {
|
||||
if (PermissionManager.hasEffectPermission(p, effect)) {
|
||||
toSend += effect.getName() + ", ";
|
||||
|
@ -32,7 +32,7 @@ public class EffectsCommandModule implements CommandModule {
|
|||
}
|
||||
|
||||
LangManager.sendCustomMessage(p, toSend);
|
||||
LangManager.sendCustomMessage(p, Lang.USAGE.get() + " " + Lang.PARTICLE_USAGE.get());
|
||||
LangManager.sendCustomMessage(p, LangManager.getText(Lang.USAGE) + " " + LangManager.getText(Lang.PARTICLE_USAGE));
|
||||
}
|
||||
|
||||
public List<String> onTabComplete(PPlayer pplayer, String[] args) {
|
||||
|
@ -43,8 +43,8 @@ public class EffectsCommandModule implements CommandModule {
|
|||
return "effects";
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return Lang.EFFECTS_COMMAND_DESCRIPTION.get();
|
||||
public Lang getDescription() {
|
||||
return Lang.EFFECTS_COMMAND_DESCRIPTION;
|
||||
}
|
||||
|
||||
public String getArguments() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue