Fix #641 Item Inventory Dupe Bug. Refactor Inventories

This commit is contained in:
mezz committed 2015-05-21 00:30:35 -07:00
1 parent 6b824f47cd
commit 93a6c77eba
82 files changed
+719 -1258

No files matched your search

@@ -64,7 +64,7 @@ public class GuiHandlerMail extends GuiHandlerBase {
}
if (equipped.getItem() instanceof ItemLetter) {
return new GuiLetter(player, new LetterInventory(equipped));
return new GuiLetter(player, new LetterInventory(player, equipped));
} else {
return null;
}
@@ -110,7 +110,7 @@ public class GuiHandlerMail extends GuiHandlerBase {
}
if (equipped.getItem() instanceof ItemLetter) {
return new ContainerLetter(player, new LetterInventory(equipped));
return new ContainerLetter(player, new LetterInventory(player, equipped));
} else {
return null;
}