mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
[Bleeding] Make crafting and enchanting inventories keep track of their owner rather than returning null. Addresses BUKKIT-1209
This commit is contained in:
committed by
EvilSeph
parent
4bcbe2d235
commit
b9a71db046
@@ -38,7 +38,7 @@ public class ContainerEnchantTableSubcontainer implements IInventory {
|
||||
}
|
||||
|
||||
public InventoryHolder getOwner() {
|
||||
return null; // TODO: Enchanting tables don't really have an owner? Maybe they should?
|
||||
return this.player;
|
||||
}
|
||||
|
||||
public void setMaxStackSize(int size) {
|
||||
|
Reference in New Issue
Block a user