--- a/net/minecraft/network/PacketDataSerializer.java +++ b/net/minecraft/network/PacketDataSerializer.java @@ -173,7 +173,7 @@ public void writeIntIdList(IntList intlist) { this.writeVarInt(intlist.size()); - intlist.forEach(this::writeVarInt); + intlist.forEach((java.util.function.IntConsumer) this::writeVarInt); // CraftBukkit - decompile error } public > M readMap(IntFunction intfunction, StreamDecoder streamdecoder, StreamDecoder streamdecoder1) { @@ -566,7 +566,7 @@ try { NBTCompressedStreamTools.writeAnyTag(nbtbase, new ByteBufOutputStream(bytebuf)); - } catch (IOException ioexception) { + } catch (Exception ioexception) { // CraftBukkit - IOException -> Exception throw new EncoderException(ioexception); } }