Package crazypants.enderio.teleport

Source Code of crazypants.enderio.teleport.ConnectionHandler

package crazypants.enderio.teleport;

import net.minecraft.entity.player.EntityPlayerMP;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent;
import crazypants.enderio.network.PacketHandler;
import crazypants.enderio.teleport.packet.PacketConfigSync;

public class ConnectionHandler {

  @SubscribeEvent
  public void onPlayerLoggon(PlayerLoggedInEvent evt) {
    PacketHandler.INSTANCE.sendTo(new PacketConfigSync(), (EntityPlayerMP) evt.player);
  }

}
TOP

Related Classes of crazypants.enderio.teleport.ConnectionHandler

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.