From fd4db24d447cddeee36f26115e9959af33ac8c08 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Fri, 22 Mar 2024 22:34:34 +0100 Subject: [PATCH] Fix intangible projectile data reading --- .../viaversion/api/minecraft/data/StructuredDataKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/com/viaversion/viaversion/api/minecraft/data/StructuredDataKey.java b/api/src/main/java/com/viaversion/viaversion/api/minecraft/data/StructuredDataKey.java index 3f2433a7f..357aa0f02 100644 --- a/api/src/main/java/com/viaversion/viaversion/api/minecraft/data/StructuredDataKey.java +++ b/api/src/main/java/com/viaversion/viaversion/api/minecraft/data/StructuredDataKey.java @@ -71,7 +71,7 @@ public final class StructuredDataKey { public static final StructuredDataKey REPAIR_COST = new StructuredDataKey<>("repair_cost", Type.VAR_INT); public static final StructuredDataKey CREATIVE_SLOT_LOCK = new StructuredDataKey<>("creative_slot_lock", Type.EMPTY); public static final StructuredDataKey ENCHANTMENT_GLINT_OVERRIDE = new StructuredDataKey<>("enchantment_glint_override", Type.BOOLEAN); - public static final StructuredDataKey INTANGIBLE_PROJECTILE = new StructuredDataKey<>("intangible_projectile", Type.EMPTY); + public static final StructuredDataKey INTANGIBLE_PROJECTILE = new StructuredDataKey<>("intangible_projectile", Type.TAG); // Doesn't actually hold data public static final StructuredDataKey FOOD = new StructuredDataKey<>("food", FoodProperties.TYPE); public static final StructuredDataKey FIRE_RESISTANT = new StructuredDataKey<>("fire_resistant", Type.EMPTY); public static final StructuredDataKey TOOL = new StructuredDataKey<>("tool", ToolProperties.TYPE);