Clean up network, clearly separate client and server packets

This commit is contained in:
mezz committed 2015-10-15 15:57:17 -07:00
1 parent 140643bec3
commit 614c13b4f3
90 files changed
+1326 -1056

No files matched your search

@@ -33,7 +33,7 @@ import forestry.api.mail.PostManager;
import forestry.core.config.ForestryItem;
import forestry.core.proxy.Proxies;
import forestry.mail.items.ItemLetter;
import forestry.mail.network.PacketPOBoxInfo;
import forestry.mail.network.PacketPOBoxInfoResponse;
public class PostRegistry implements IPostRegistry {
@@ -75,7 +75,7 @@ public class PostRegistry implements IPostRegistry {
EntityPlayer player = Proxies.common.getPlayer(world, address.getPlayerProfile());
if (player != null) {
Proxies.net.sendToPlayer(new PacketPOBoxInfo(pobox.getPOBoxInfo()), player);
Proxies.net.sendToPlayer(new PacketPOBoxInfoResponse(pobox.getPOBoxInfo()), player);
}
}