From 7924dfeab24db74ab24e8c18a6429c9c72111846 Mon Sep 17 00:00:00 2001 From: KennyTV Date: Thu, 11 Jun 2020 19:36:35 +0200 Subject: [PATCH] Remove -1 tag workaround, fixed in pre4 --- .../java/us/myles/ViaVersion/api/rewriters/TagRewriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/api/rewriters/TagRewriter.java b/common/src/main/java/us/myles/ViaVersion/api/rewriters/TagRewriter.java index 30faec23b..301c61727 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/rewriters/TagRewriter.java +++ b/common/src/main/java/us/myles/ViaVersion/api/rewriters/TagRewriter.java @@ -10,7 +10,7 @@ import java.util.ArrayList; import java.util.List; public class TagRewriter { - private static final int[] EMPTY_ARRAY = {-1}; + private static final int[] EMPTY_ARRAY = {}; private final Protocol protocol; private final IdRewriteFunction blockRewriter; private final IdRewriteFunction itemRewriter;