diff --git a/src/main/java/net/neoforged/neoforge/common/CommonHooks.java b/src/main/java/net/neoforged/neoforge/common/CommonHooks.java index 8fd6a6b2ed..bf4b4de7b0 100644 --- a/src/main/java/net/neoforged/neoforge/common/CommonHooks.java +++ b/src/main/java/net/neoforged/neoforge/common/CommonHooks.java @@ -1344,7 +1344,7 @@ public Optional> get(TagKey key) { @Override public boolean canSerializeIn(HolderOwner other) { - return Delegate.super.canSerializeIn(other) || other == lookup; + return Delegate.super.canSerializeIn(other) || lookup.canSerializeIn(other); } }; }