Use new-style runTask methods

This commit is contained in:
riking
2014-06-13 23:19:23 -07:00
parent 4c14e6b72a
commit c1b5780d77
4 changed files with 15 additions and 14 deletions

View File

@@ -909,7 +909,7 @@ public class PacketsManager {
if (clickedItem != null && clickedItem.getType() != Material.AIR) {
// Rather than predict the clients actions
// Lets just update the entire inventory..
Bukkit.getScheduler().scheduleSyncDelayedTask(libsDisguises, new Runnable() {
Bukkit.getScheduler().runTask(libsDisguises, new Runnable() {
public void run() {
event.getPlayer().updateInventory();
}