mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
fix Tinkers Weaponry book spawning with beginner book option off
This commit is contained in:
1 parent
34e5f90edd
commit
40c977fb39
1 file changed
+6
@@ -8,6 +8,7 @@ import tconstruct.library.event.PartBuilderEvent;
|
||||
import tconstruct.library.event.SmelteryCastEvent;
|
||||
import tconstruct.library.util.IToolPart;
|
||||
import tconstruct.tools.TinkerTools;
|
||||
import tconstruct.util.config.PHConstruct;
|
||||
import tconstruct.weaponry.ammo.ArrowAmmo;
|
||||
import tconstruct.weaponry.ammo.BoltAmmo;
|
||||
import tconstruct.library.tools.DualMaterialToolPart;
|
||||
@@ -37,6 +38,11 @@ public class WeaponryHandler {
|
||||
{
|
||||
if (item == Item.getItemFromBlock(TinkerTools.toolStationWood))
|
||||
{
|
||||
if (!PHConstruct.beginnerBook)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
TPlayerStats stats = TPlayerStats.get(event.player);
|
||||
if (!stats.weaponryManual)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user