mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
Update to 1.10
This commit is contained in:
parent
de0d28b12d
commit
eaabd30dc2
1 changed files with 2 additions and 3 deletions
|
@ -58,7 +58,7 @@ public class OpenInvCommand implements CommandExecutor {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.length > 0 && args[0].equalsIgnoreCase("?")) {
|
if (args.length > 0 && args[0].equalsIgnoreCase("?")) {
|
||||||
OpenInv.showHelp((Player) sender);
|
OpenInv.showHelp(sender);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,8 +76,7 @@ public class OpenInvCommand implements CommandExecutor {
|
||||||
// Read from history if target is not named
|
// Read from history if target is not named
|
||||||
if (args.length < 1) {
|
if (args.length < 1) {
|
||||||
uuid = history;
|
uuid = history;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
uuid = UUIDUtils.getPlayerUUID(args[0]);
|
uuid = UUIDUtils.getPlayerUUID(args[0]);
|
||||||
if (uuid == null) {
|
if (uuid == null) {
|
||||||
player.sendMessage(ChatColor.RED + "Player not found!");
|
player.sendMessage(ChatColor.RED + "Player not found!");
|
||||||
|
|
Loading…
Reference in a new issue