Trading support for ModLoader - thanks Herblore!

This commit is contained in:
Christian committed 2012-08-23 01:40:03 -04:00
1 parent d7a74d84ea
commit 23fdbbd03d
6 files changed
+126 -9

No files matched your search

+4
View File
@@ -294,6 +294,10 @@ public class ModLoader
EntityRegistry.addSpawn(entityName, weightedProb, min, max, spawnList, biomes);
}
public static void addTrade(int profession, TradeEntry entry)
{
ModLoaderHelper.registerTrade(profession, entry);
}
/**
* Send a packet from the client
* @param packet