package net.mcft.copy.core.proxy;

import net.mcft.copy.core.copycore;
import net.mcft.copy.core.config.Config;
import net.mcft.copy.core.network.AbstractPacket;
import net.mcft.copy.core.network.packet.PacketSyncSettings;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent;

public class CommonProxy {
	
	public void init() {
		MinecraftForge.EVENT_BUS.register(this);
		FMLCommonHandler.instance().bus().register(this);
	}
	
	@EventHandler
	public void onPlayerLoggedIn(PlayerLoggedInEvent event) {
		// Synchronize settings with newly joined players.
		AbstractPacket packet = new PacketSyncSettings(Config.getAllConfigs());
		copycore.getChannelHandler().sendToPlayer(event.player, packet);
	}
	
}

@@ -341,24 +341,35 @@
 mon.
-Mod.E
+e
 vent
-H
+h
 andler
+.SubscribeEvent
 ;%0Aim
@@ -594,20 +594,22 @@
 %09%0A%09@
-EventHandler
+SubscribeEvent
 %0A%09pu

Replace @EventHandler with @SubscribeEvent