Update for 1.10

Don't load players off the main thread, just in case.
This commit is contained in:
Jikoo
2016-06-08 22:25:14 -04:00
parent fc5f9587d1
commit 326ffdb433
11 changed files with 863 additions and 5 deletions

View File

@@ -111,7 +111,7 @@ public class OpenEnderPluginCommand implements CommandExecutor {
if (!online) {
// Try loading the player's data
onlineTarget = plugin.getPlayerLoader().loadPlayer(target);
onlineTarget = plugin.getPlayerLoader().loadPlayer(plugin, target);
if (onlineTarget == null) {
player.sendMessage(ChatColor.RED + "Player not found!");