mirror of
https://github.com/GTNewHorizons/IguanaTweaksTConstruct.git
synced 2026-11-25 22:34:38 +00:00
Allow all bolts, since currenly you can't craft bolts with toolrods that are allowed and they consist of 2 materials. No harm in that.
This commit is contained in:
1 parent
742d7adb41
commit
121f5c985e
1 file changed
+5
@@ -18,6 +18,7 @@ import tconstruct.library.tools.CustomMaterial;
|
||||
import tconstruct.library.tools.ToolMaterial;
|
||||
import tconstruct.library.util.IPattern;
|
||||
import tconstruct.library.util.IToolPart;
|
||||
import tconstruct.weaponry.TinkerWeaponry;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -49,6 +50,10 @@ public class PartRestrictionHandler {
|
||||
// null checks
|
||||
if(event.recipe == null || event.recipe.output == null)
|
||||
return;
|
||||
// we allow all bolts
|
||||
if(event.recipe.output.getItem() == TinkerWeaponry.partBolt)
|
||||
return;
|
||||
|
||||
CastingRecipe recipe = event.recipe;
|
||||
ItemStack output = recipe.output;
|
||||
|
||||
|
||||
Reference in new issue
Block a user