mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 15:03:01 +00:00
make TinkerSmeltery optional
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user