mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +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
@@ -23,9 +23,9 @@ import forestry.core.proxy.Proxies;
|
||||
import forestry.mail.gui.ContainerCatalogue;
|
||||
import forestry.mail.gui.ContainerLetter;
|
||||
import forestry.mail.gui.ContainerTradeName;
|
||||
import forestry.mail.gui.GuiMailboxInfo;
|
||||
import forestry.mail.network.PacketLetterInfo;
|
||||
import forestry.mail.network.PacketPOBoxInfo;
|
||||
import forestry.plugins.PluginMail;
|
||||
|
||||
public class PacketHandlerMail implements IPacketHandler {
|
||||
|
||||
@@ -79,8 +79,7 @@ public class PacketHandlerMail implements IPacketHandler {
|
||||
}
|
||||
|
||||
private void onPOBoxInfo(PacketPOBoxInfo packet) {
|
||||
MailAddress address = new MailAddress(Proxies.common.getClientInstance().thePlayer.getGameProfile());
|
||||
PluginMail.proxy.setPOBoxInfo(Proxies.common.getRenderWorld(), address, packet.poboxInfo);
|
||||
GuiMailboxInfo.instance.setPOBoxInfo(packet.poboxInfo);
|
||||
}
|
||||
|
||||
private void onAddressSet(EntityPlayer player, PacketUpdate packet) {
|
||||
|
||||
Reference in new issue
Block a user