mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 22:26:46 +01:00
18 lines
379 B
Java
18 lines
379 B
Java
|
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();
|
||
|
}
|
||
|
}
|