Typo newConection

This commit is contained in:
thatsIch
2014-09-21 02:40:05 +02:00
parent a95eef919f
commit 05fc12acba
+2 -2
View File
@@ -58,13 +58,13 @@ public class NetworkHandler
}
@SubscribeEvent
public void newConection(ServerConnectionFromClientEvent ev)
public void newConnection(ServerConnectionFromClientEvent ev)
{
WorldSettings.getInstance().sendToPlayer( ev.manager, null );
}
@SubscribeEvent
public void newConection(PlayerLoggedInEvent loginEvent)
public void newConnection(PlayerLoggedInEvent loginEvent)
{
if ( loginEvent.player instanceof EntityPlayerMP )
WorldSettings.getInstance().sendToPlayer( null, (EntityPlayerMP) loginEvent.player );