Updated to CraftBukkit 1.9

This commit is contained in:
ShadowRanger
2016-03-04 13:45:54 +11:00
parent c4a9cb0a4a
commit 71ac05ae85
17 changed files with 115 additions and 72 deletions

View File

@@ -33,6 +33,7 @@ import com.lishid.openinv.internal.SpecialEnderChest;
import com.lishid.openinv.utils.UUIDUtil;
public class OpenEnderCommand implements CommandExecutor {
private final OpenInv plugin;
private final Map<UUID, UUID> openEnderHistory = new ConcurrentHashMap<UUID, UUID>();
@@ -73,8 +74,7 @@ public class OpenEnderCommand implements CommandExecutor {
if (args.length < 1) {
if (history != null) {
uuid = history;
}
else {
} else {
sender.sendMessage(ChatColor.RED + "OpenEnder history is empty!");
return true;
}
@@ -111,6 +111,7 @@ public class OpenEnderCommand implements CommandExecutor {
if (player == null) {
return;
}
openInventory(player, target);
}
});