mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
!fixed random asserror
This commit is contained in:
parent
bd330911b9
commit
09ffb2155b
@ -26,7 +26,7 @@ public class CheckStatCommandTreeNode extends CommandTreeNode {
|
||||
|
||||
ItemStat stat = MMOItems.plugin.getStats().get(args[2].toUpperCase().replace("-", "_"));
|
||||
if (stat == null) {
|
||||
sender.sendMessage(ChatColor.RED + "Couldn't find the stat called " + args[1].toUpperCase().replace("-", "_") + ".");
|
||||
sender.sendMessage(ChatColor.RED + "Couldn't find the stat called " + args[2].toUpperCase().replace("-", "_") + ".");
|
||||
return CommandResult.FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user