diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/command/DisguiseCommand.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/command/DisguiseCommand.java index da14bd088..66a401d50 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/command/DisguiseCommand.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/command/DisguiseCommand.java @@ -18,7 +18,7 @@ public class DisguiseCommand extends CommandBase { public DisguiseCommand(ArcadeManager plugin) { - super(plugin, Rank.OWNER, new Rank[] {Rank.OWNER}, "disguise"); + super(plugin, Rank.YOUTUBE, new Rank[] {Rank.YOUTUBE}, "disguise"); } @Override @@ -37,13 +37,18 @@ public class DisguiseCommand extends CommandBase { try { - GameProfile profile = new ProfileLoader(UUIDFetcher.getUUIDOf(args[0]).toString(), args[0]).loadProfile(); + final GameProfile profile = new ProfileLoader(UUIDFetcher.getUUIDOf(args[0]).toString(), args[0]).loadProfile(); - - DisguisePlayer playerDisguise = new DisguisePlayer(caller, profile); - Plugin.GetDisguise().disguise(playerDisguise); - - UtilPlayer.message(caller, C.cGreen + C.Bold + "Disguise Active: " + ChatColor.RESET + args[0]); + Bukkit.getServer().getScheduler().runTask(Plugin.getPlugin(), new Runnable() + { + public void run() + { + DisguisePlayer playerDisguise = new DisguisePlayer(caller, profile); + Plugin.GetDisguise().disguise(playerDisguise); + + UtilPlayer.message(caller, C.cGreen + C.Bold + "Disguise Active: " + ChatColor.RESET + args[0]); + } + }); } catch (Exception e) { diff --git a/Website/LOCWebsite.suo b/Website/LOCWebsite.suo index acbad218b..ad5303fcc 100644 Binary files a/Website/LOCWebsite.suo and b/Website/LOCWebsite.suo differ