Move InventoryView handling to separate modules
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
package dev.heliosares.auxprotect.utils;
|
||||
|
||||
import org.bukkit.entity.HumanEntity;
|
||||
import org.bukkit.inventory.Inventory;
|
||||
|
||||
public class InventoryUtil_1_21 {
|
||||
public static Inventory getTopInventory(HumanEntity player) {
|
||||
return player.getOpenInventory().getTopInventory();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user