mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Split the packet salutation in two so we can work with or without forge
This commit is contained in:
1 parent
93664d10e6
commit
2ff2a78694
3 files changed
+15
-13
No files matched your search
@@ -49,7 +49,7 @@ public abstract class BaseMod implements IWorldGenerator, IPickupNotifier, IDisp
|
||||
@Override
|
||||
public final void onLogin(Object... data)
|
||||
{
|
||||
onClientLogin((Packet1Login)data[0], (NetworkManager)data[1], (EntityPlayer) data[2]);
|
||||
onClientLogin((EntityPlayer) data[0]);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -252,7 +252,7 @@ public abstract class BaseMod implements IWorldGenerator, IPickupNotifier, IDisp
|
||||
* @param data
|
||||
* @param player
|
||||
*/
|
||||
public void onClientLogin(Packet1Login login, NetworkManager data, EntityPlayer player)
|
||||
public void onClientLogin(EntityPlayer player)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user