mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Make weaponry book available!
This commit is contained in:
1 parent
6cd7b497e8
commit
5a03a15ec4
5 files changed
+32
-3
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package tconstruct.weaponry;
|
||||
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.SidedProxy;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||
@@ -111,7 +112,9 @@ public class TinkerWeaponry {
|
||||
public void postInit(FMLPostInitializationEvent event)
|
||||
{
|
||||
// this handler takes care that ammo weapons get ammo.
|
||||
MinecraftForge.EVENT_BUS.register(new WeaponryHandler());
|
||||
WeaponryHandler weaponryHandler = new WeaponryHandler();
|
||||
MinecraftForge.EVENT_BUS.register(weaponryHandler);
|
||||
FMLCommonHandler.instance().bus().register(weaponryHandler);
|
||||
|
||||
proxy.init();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user