From 3c9834389723edf4ed0bb9524484301fe677d617 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Mon, 9 Feb 2026 15:29:45 +0000 Subject: [PATCH] fix startup crash from tool property --- kubejs/startup_scripts/gtceu/material_modification.js | 1 + 1 file changed, 1 insertion(+) diff --git a/kubejs/startup_scripts/gtceu/material_modification.js b/kubejs/startup_scripts/gtceu/material_modification.js index 4efcece0b..2fcf5bf05 100644 --- a/kubejs/startup_scripts/gtceu/material_modification.js +++ b/kubejs/startup_scripts/gtceu/material_modification.js @@ -355,6 +355,7 @@ const registerGTCEuMaterialModification = (event) => { GTMaterials.BlackSteel.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(6.5, 4.5, 1228, 3, metalTooling).build()); // Cast iron tools don't make sense but gregtech shits itself if they're missing, // so I'm just giving them terrible terrible stats + GTMaterials.Iron.getProperties().removeProperty(PropertyKey.TOOL); GTMaterials.Iron.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(2.5, 1.0, 20, 2, [GTToolType.PICKAXE]).build()); // Hide netherite too GTMaterials.Netherite.getProperty(PropertyKey.TOOL).removeTypes(metalTooling);