Examples of DeferredWorldCheck


Examples of uk.co.tggl.pluckerpluck.multiinv.player.DeferredWorldCheck

      task.cancel();
    }
    players.put(player.getName(), new MIPlayer(player, plugin));
    if(!player.hasPermission("multiinv.exempt") || !player.hasPermission("multiinv.enderchestexempt")) {
      // Let's set a task to run once they get switched to the proper world by bukkit.
      plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new DeferredWorldCheck(player, this), 1);
    }
    if(player.hasPermission("multiinv.exempt") && player.hasPermission("multiinv.enderchestexempt")) {
      player.sendMessage(ChatColor.GOLD + "[MultiInv] You have the multiinv.exempt and multiinv.enderchestexempt permission nodes.");
      player.sendMessage(ChatColor.GOLD + "Your inventory and enderchest contents will not change between worlds.");
    }else if(player.hasPermission("multiinv.exempt")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.