9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-28 19:39:14 +00:00

fix geary-hook

This commit is contained in:
Boy
2023-06-10 20:23:13 +02:00
parent 2e4130012f
commit 1b7fdd3dcf

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 null; //return ItemTrackingKt.getItemTracking().getProvider().serializePrefabToItemStack(prefabKey, null);
return ItemTrackingKt.getItemTracking().createItem(prefabKey, null);
} else return new ItemStack(Material.AIR);
}
}