From eaabd30dc20013fa20c25ffe42d3c58df42493b7 Mon Sep 17 00:00:00 2001 From: ShadowRanger Date: Thu, 9 Jun 2016 22:46:36 +1000 Subject: [PATCH] Update to 1.10 --- .../java/com/lishid/openinv/commands/OpenInvCommand.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java b/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java index addeba0..49afd30 100644 --- a/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java +++ b/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java @@ -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!");