diff --git a/src/main/java/net/minestom/server/tag/Tag.java b/src/main/java/net/minestom/server/tag/Tag.java index 6a31f845f..63e054446 100644 --- a/src/main/java/net/minestom/server/tag/Tag.java +++ b/src/main/java/net/minestom/server/tag/Tag.java @@ -54,7 +54,7 @@ public class Tag { @Contract(value = "_ -> new", pure = true) public Tag defaultValue(@NotNull T defaultValue) { - return new Tag<>(key, readFunction, writeConsumer, () -> defaultValue); + return defaultValue(() -> defaultValue); } @Contract(value = "_, _ -> new", pure = true)