Paper/nms-patches/Packet.patch

15 Zeilen
624 B
Diff

--- ../work/decompile-8eb82bde//net/minecraft/server/Packet.java 2014-11-28 17:43:43.269707431 +0000
+++ src/main/java/net/minecraft/server/Packet.java 2014-11-28 17:38:21.000000000 +0000
@@ -2,9 +2,9 @@
public interface Packet {
- void a(PacketDataSerializer packetdataserializer);
+ void a(PacketDataSerializer packetdataserializer) throws java.io.IOException; // CraftBukkit - added throws
- void b(PacketDataSerializer packetdataserializer);
+ void b(PacketDataSerializer packetdataserializer) throws java.io.IOException; // CraftBukkit - added throws
void a(PacketListener packetlistener);
}