Merge pull request #76 from IntellectualSites/new-vector-system2

Revert "Make end tag singleton"
This commit is contained in:
Josh Knight
2019-03-25 06:09:13 -04:00
committed by GitHub
6 changed files with 661 additions and 670 deletions

View File

@ -440,7 +440,7 @@ public final class Spigot_v1_13_R2 extends CachedBukkitAdapter implements Bukkit
} else if (foreign instanceof NBTTagString) {
return new StringTag(foreign.asString()); // data
} else if (foreign instanceof NBTTagEnd) {
return EndTag.INSTANCE;
return new EndTag();
} else {
throw new IllegalArgumentException("Don't know how to make native " + foreign.getClass().getCanonicalName());
}