language fix

when trying to open a gui that does not esist, it now shows which gui you tried to open
This commit is contained in:
JaTiTV 2022-12-31 01:27:17 +01:00
parent c34c6ab09f
commit 052d2393aa
2 changed files with 3 additions and 3 deletions

View File

@ -202,6 +202,6 @@ public class Commands {
} else T2Csend.player(player, SelectMessages.NoPermissionForCommand.replace("[cmd]", "/commandgui " + gui.key)
.replace("[perm]", "commandgui.command." + arg.toLowerCase()));
} else T2Csend.player(player, SelectMessages.GUIIsDisabled.replace("[gui]", gui.key));
} else T2Csend.player(player, SelectMessages.guiNotFound);
} else T2Csend.player(player, SelectMessages.guiNotFound.replace("[gui]", arg));
}
}

View File

@ -43,7 +43,7 @@ public class MSG {
public static String EN_UseItemDisabledInGameMode = "[prefix] &cThe UseItem is disabled in this GameMode!";
public static String EN_UseItemDisabledInWorld = "[prefix] &cThe UseItem is disabled in this World!";
public static String EN_GUInotFound = "[prefix] &cThe GUI chosen by the does not exist.";
public static String EN_GUInotFound = "[prefix] &cThe gui [gui] does not exist!";
public static String EN_GUIisDisabled = "[prefix] &cThe GUI [gui] &cis currently Disabled!";
public static String EN_GiveSender = "[prefix] &2You have given &6[player] &2an [item] &2!";
@ -113,7 +113,7 @@ public class MSG {
public static String DE_onServerChange = "[prefix] &2Du wirst auf den Server §e[server] §2verbunden.";
public static String DE_GUInotFound = "[prefix] &cDie von die gew[ae]hlte GUI gibt es nicht.";
public static String DE_GUInotFound = "[prefix] &cDie gui [gui] existiert nicht!";
public static String DE_GUIisDisabled = "[prefix] &cDie GUI [gui] &cist derzeit Deaktiviert!";
public static String DE_GiveSender = "[prefix] &2Du hast &6[player] &2ein [item] &2gegeben!";