Tidy up our InventoryListener.

This commit is contained in:
GJ
2013-06-12 15:10:43 -04:00
parent a1792fe125
commit 28a78d820a
4 changed files with 142 additions and 98 deletions

View File

@ -0,0 +1,17 @@
package com.gmail.nossr50.runnables;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
public class PlayerUpdateInventoryTask extends BukkitRunnable {
private Player player;
public PlayerUpdateInventoryTask(Player player) {
this.player = player;
}
@Override
public void run() {
player.updateInventory();
}
}