mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-02 11:21:15 +01:00
PlayerInventory field in player is now protected, to allow unsafe modifications when extending the class
This commit is contained in:
parent
817036fd87
commit
8da6148152
@ -137,7 +137,7 @@ public class Player extends LivingEntity implements CommandSender {
|
||||
private float exp;
|
||||
private int level;
|
||||
|
||||
private final PlayerInventory inventory;
|
||||
protected PlayerInventory inventory;
|
||||
private Inventory openInventory;
|
||||
// Used internally to allow the closing of inventory within the inventory listener
|
||||
private boolean didCloseInventory;
|
||||
|
Loading…
Reference in New Issue
Block a user