mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-19 03:39:20 +00:00
New client -> server packet handler, added key to allow using the Project: Omega's signature effects
This commit is contained in:
1 parent
ca74a33a12
commit
6cb1e06306
17 files changed
+800
-37
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package WayofTime.alchemicalWizardry.common;
|
||||
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
|
||||
public class ClientToServerPacketHandler
|
||||
{
|
||||
public static final SimpleNetworkWrapper INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel("alchemicalwizardry");
|
||||
|
||||
public static void init()
|
||||
{
|
||||
INSTANCE.registerMessage(MessageKeyPressed.class, MessageKeyPressed.class, 0, Side.SERVER);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user