Only machines package remains, lots to do in there.

This commit is contained in:
tterrag1098 committed 2014-06-03 07:20:07 -04:00
1 parent d16b3ddd6b
commit ec975567b2
128 files changed
+407 -599

No files matched your search

@@ -4,15 +4,15 @@ import net.minecraft.entity.player.EntityPlayerMP;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent.ClientDisconnectionFromServerEvent;
import crazypants.enderio.EnderIO;
import crazypants.enderio.network.PacketHandler;
public class ConnectionHandler {
//to lazy to create a new class
@SubscribeEvent
public void onPlayerLoggon(PlayerLoggedInEvent evt) {
EnderIO.packetPipeline.sendTo(new PacketChannelList(evt.player, true), (EntityPlayerMP) evt.player);
EnderIO.packetPipeline.sendTo(new PacketChannelList(evt.player, false), (EntityPlayerMP) evt.player);
PacketHandler.INSTANCE.sendTo(new PacketChannelList(evt.player, true), (EntityPlayerMP) evt.player);
PacketHandler.INSTANCE.sendTo(new PacketChannelList(evt.player, false), (EntityPlayerMP) evt.player);
}
@SubscribeEvent