make TinkerSmeltery optional

This commit is contained in:
asiekierka committed 2014-12-21 17:46:36 +01:00
1 parent 29caed2de7
commit 8674272afa
5 files changed
+50 -23

No files matched your search

@@ -14,12 +14,18 @@ import tconstruct.armor.player.TPlayerStats;
import tconstruct.library.tools.AbilityHelper;
import tconstruct.smeltery.blocks.*;
import tconstruct.tools.TinkerTools;
import tconstruct.util.config.PHConstruct;
public class TinkerSmelteryEvents
{
@SubscribeEvent
public void onCrafting (ItemCraftedEvent event)
{
if (!PHConstruct.beginnerBook)
{
return;
}
Item item = event.crafting.getItem();
if (!event.player.worldObj.isRemote)
{