Remove unnecessary "admin" tag.

This commit is contained in:
BONNe 2021-09-20 10:22:07 +03:00
parent 56fb5388c5
commit dfd0a53fb5
3 changed files with 8 additions and 8 deletions

View File

@ -109,7 +109,7 @@ public class CompleteCommand extends CompositeCommand
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.completed",
Utils.sendMessage(user, user.getTranslation("challenges.messages.completed",
Constants.PARAMETER_NAME, challenge.getFriendlyName(),
Constants.PARAMETER_PLAYER, User.getInstance(targetUUID).getName()));
}
@ -123,7 +123,7 @@ public class CompleteCommand extends CompositeCommand
{
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.already-completed"));
Utils.sendMessage(user, user.getTranslation("challenges.messages.already-completed"));
}
else
{

View File

@ -103,7 +103,7 @@ public class ResetCommand extends CompositeCommand
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.reset-all",
Utils.sendMessage(user, user.getTranslation("challenges.messages.reset-all",
Constants.PARAMETER_PLAYER, User.getInstance(targetUUID).getName()));
}
else
@ -127,7 +127,7 @@ public class ResetCommand extends CompositeCommand
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.reset",
Utils.sendMessage(user, user.getTranslation("challenges.messages.reset",
Constants.PARAMETER_NAME, challenge.getFriendlyName(),
Constants.PARAMETER_PLAYER, User.getInstance(targetUUID).getName()));
}
@ -141,7 +141,7 @@ public class ResetCommand extends CompositeCommand
{
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.not-completed"));
Utils.sendMessage(user, user.getTranslation("challenges.messages.not-completed"));
}
else
{

View File

@ -673,7 +673,7 @@ public class ChallengesManager
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.migrate-start"));
Utils.sendMessage(user, user.getTranslation("challenges.messages.migrate-start"));
}
else
{
@ -689,7 +689,7 @@ public class ChallengesManager
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.migrate-end"));
Utils.sendMessage(user, user.getTranslation("challenges.messages.migrate-end"));
}
else
{
@ -700,7 +700,7 @@ public class ChallengesManager
{
if (user.isPlayer())
{
Utils.sendMessage(user, user.getTranslation("challenges.messages.admin.migrate-not"));
Utils.sendMessage(user, user.getTranslation("challenges.messages.migrate-not"));
}
else
{