mcMMO/src/main/java/com/gmail/nossr50/runnables/PlayerUpdateInventoryTask.java

19 lines
412 B
Java
Raw Normal View History

2013-06-12 21:10:43 +02:00
package com.gmail.nossr50.runnables;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
@SuppressWarnings("deprecation")
2013-06-12 21:10:43 +02:00
public class PlayerUpdateInventoryTask extends BukkitRunnable {
private Player player;
public PlayerUpdateInventoryTask(Player player) {
this.player = player;
}
@Override
public void run() {
player.updateInventory();
}
}