mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
[Bleeding] Make crafting and enchanting inventories keep track of their owner rather than returning null. Addresses BUKKIT-1209
This commit is contained in:
1 parent
4bcbe2d235
commit
b9a71db046
4 files changed
+7
-4
No files matched your search
@@ -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