Update to 1.10

This commit is contained in:
ShadowRanger 2016-06-09 22:46:36 +10:00
parent de0d28b12d
commit eaabd30dc2

View file

@ -58,7 +58,7 @@ public class OpenInvCommand implements CommandExecutor {
}
if (args.length > 0 && args[0].equalsIgnoreCase("?")) {
OpenInv.showHelp((Player) sender);
OpenInv.showHelp(sender);
return true;
}
@ -76,8 +76,7 @@ public class OpenInvCommand implements CommandExecutor {
// Read from history if target is not named
if (args.length < 1) {
uuid = history;
}
else {
} else {
uuid = UUIDUtils.getPlayerUUID(args[0]);
if (uuid == null) {
player.sendMessage(ChatColor.RED + "Player not found!");