More ML compatibility - fix up dragon mounts, thanks!

This commit is contained in:
Christian committed 2012-08-23 00:37:45 -04:00
1 parent ee48a3673d
commit 907cf2d925
7 files changed
+43 -4

No files matched your search

+13
View File
@@ -45,6 +45,10 @@ import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import cpw.mods.fml.server.FMLServerHandler;
/**
* @author cpw
*
*/
public class ModLoader
{
public static final String fmlMarker = "This is an FML marker";
@@ -290,6 +294,15 @@ public class ModLoader
EntityRegistry.addSpawn(entityName, weightedProb, min, max, spawnList, biomes);
}
/**
* Send a packet from the client
* @param packet
*/
public static void clientSendPacket(Packet packet)
{
PacketDispatcher.sendPacketToServer(packet);
}
/**
* This method is a call in hook from modified external code. Implemented elsewhere.
*