Update for 1.10
Don't load players off the main thread, just in case.
This commit is contained in:
@@ -112,7 +112,7 @@ public class OpenInvPluginCommand 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!");
|
||||
|
Reference in New Issue
Block a user