mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-03 06:04:44 +02:00
Move PlayerUpdateInventoryTask to runnables.player
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
package com.gmail.nossr50.runnables.player;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class PlayerUpdateInventoryTask extends BukkitRunnable {
|
||||
private Player player;
|
||||
|
||||
public PlayerUpdateInventoryTask(Player player) {
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
player.updateInventory();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user