Move ItemStack#forgeInit call earlier to allow earlier capability queries (#8096)

This commit is contained in:
sciwhiz12 authored and GitHub committed 2021-09-19 16:35:55 -07:00
1 parent a3e9d7a397
commit be1698bb15
2 files changed
+5 -13

No files matched your search

@@ -90,7 +90,7 @@ public abstract class CapabilityProvider<B extends CapabilityProvider<B>> implem
{
if (isLazy && !initialized)
{
doGatherCapabilities(lazyParentSupplier.get());
doGatherCapabilities(lazyParentSupplier == null ? null : lazyParentSupplier.get());
if (lazyData != null)
{
deserializeCaps(lazyData);