diff --git a/CraftBukkit-Patches/0021-Add-oreobfuscator-for-Spigot.patch b/CraftBukkit-Patches/0021-Add-oreobfuscator-for-Spigot.patch index 7f0b36c6af..320a3140cd 100644 --- a/CraftBukkit-Patches/0021-Add-oreobfuscator-for-Spigot.patch +++ b/CraftBukkit-Patches/0021-Add-oreobfuscator-for-Spigot.patch @@ -209,7 +209,7 @@ index 0000000..1ac8c26 + buffer[index] = (byte) Block.STONE.id; + } + } -+ if (++index > buffer.length) { ++ if (++index >= buffer.length) { + return; + } + }