This commit is contained in:
Olof Larsson 2015-09-17 15:17:27 +02:00
parent ad7c63b88d
commit d6f28696e0

View File

@ -59,7 +59,10 @@ public class BasicCommandSender extends PermissibleBase implements CommandSender
{ {
final BasicCommandSender ME = this; final BasicCommandSender ME = this;
// register later // Register Now
registerImmediately();
// Register Later
Bukkit.getScheduler().scheduleSyncDelayedTask(MassiveCore.get(), new Runnable() Bukkit.getScheduler().scheduleSyncDelayedTask(MassiveCore.get(), new Runnable()
{ {
@Override @Override
@ -68,9 +71,6 @@ public class BasicCommandSender extends PermissibleBase implements CommandSender
ME.registerImmediately(); ME.registerImmediately();
} }
}); });
// and register now
registerImmediately();
} }
public void registerImmediately() public void registerImmediately()