diff --git a/Spigot-Server-Patches/Fix-Non-Full-Status-Chunk-NBT-Memory-Leak.patch b/Spigot-Server-Patches/Fix-Non-Full-Status-Chunk-NBT-Memory-Leak.patch index 04bf5ad90..a2f5cd9bf 100644 --- a/Spigot-Server-Patches/Fix-Non-Full-Status-Chunk-NBT-Memory-Leak.patch +++ b/Spigot-Server-Patches/Fix-Non-Full-Status-Chunk-NBT-Memory-Leak.patch @@ -61,8 +61,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + + @Override + public boolean hasKey(String s) { -+ if (this.keys.contains(s)) { ++ if (super.hasKey(s)) { + return true; ++ } else if (keys.contains(s)) { ++ return false; + } + throw new IllegalStateException("Missing Key " + s + " in SafeNBTCopy"); + }