9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-28 11:29:18 +00:00

fix: Geary Hook

This commit is contained in:
LoJoSho
2023-06-14 20:29:36 -05:00
parent b9a57fc48f
commit ae0dc7bd14

View File

@@ -39,7 +39,7 @@ public class HookGeary extends Hook {
if (enabled) {
PrefabKey prefabKey = PrefabKey.Companion.ofOrNull(itemId);
if (prefabKey == null) return null;
return ItemTrackingKt.getItemTracking().createItem(prefabKey, null);
return ItemTrackingKt.getGearyItems().createItem(prefabKey, null);
} else return new ItemStack(Material.AIR);
}
}