diff options
author | Celtic Minstrel <celtic.minstrel.ca@some.place> | 2012-03-13 22:50:09 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-03-20 20:30:54 -0400 |
commit | b9a71db046cc11d4678cc9e5f8a4654658e86cfa (patch) | |
tree | 2b7ad4e8de2d3808dba35115fc3c9698ba756d63 /src/main/java/net/minecraft/server/ContainerEnchantTableSubcontainer.java | |
parent | 4bcbe2d235a9e3c6e74ccf3d7b754df336a938fe (diff) | |
download | craftbukkit-b9a71db046cc11d4678cc9e5f8a4654658e86cfa.tar craftbukkit-b9a71db046cc11d4678cc9e5f8a4654658e86cfa.tar.gz craftbukkit-b9a71db046cc11d4678cc9e5f8a4654658e86cfa.tar.lz craftbukkit-b9a71db046cc11d4678cc9e5f8a4654658e86cfa.tar.xz craftbukkit-b9a71db046cc11d4678cc9e5f8a4654658e86cfa.zip |
[Bleeding] Make crafting and enchanting inventories keep track of their owner rather than returning null. Addresses BUKKIT-1209
Diffstat (limited to 'src/main/java/net/minecraft/server/ContainerEnchantTableSubcontainer.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ContainerEnchantTableSubcontainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ContainerEnchantTableSubcontainer.java b/src/main/java/net/minecraft/server/ContainerEnchantTableSubcontainer.java index 9fff6acf..400feb56 100644 --- a/src/main/java/net/minecraft/server/ContainerEnchantTableSubcontainer.java +++ b/src/main/java/net/minecraft/server/ContainerEnchantTableSubcontainer.java @@ -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) { |