mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 06:14:46 +00:00
Fix #641 Item Inventory Dupe Bug. Refactor Inventories
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user