mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Move ItemStack#forgeInit call earlier to allow earlier capability queries (#8096)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user