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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user