From 1647b18233e9a08e2624cf23ac2b4bf6eeacfd83 Mon Sep 17 00:00:00 2001 From: EnZaXD <60033407+FlorianMichael@users.noreply.github.com> Date: Fri, 5 Apr 2024 20:36:03 +0200 Subject: [PATCH] Override nbtTagName() correctly (#717) --- .../viabackwards/api/rewriters/ItemRewriterBase.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/ItemRewriterBase.java b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/ItemRewriterBase.java index d286d8c0..c50ad284 100644 --- a/common/src/main/java/com/viaversion/viabackwards/api/rewriters/ItemRewriterBase.java +++ b/common/src/main/java/com/viaversion/viabackwards/api/rewriters/ItemRewriterBase.java @@ -102,4 +102,9 @@ public abstract class ItemRewriterBase) original).copy()); } } + + @Override + public String nbtTagName() { + return "VB|" + protocol.getClass().getSimpleName(); + } }