mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-28 15:56:19 +00:00
Exception exception exception, NOT IOEXCEPTION
This commit is contained in:
1 parent
9a474fc6ea
commit
4244f3750c
1 file changed
+1
-1
@@ -168,7 +168,7 @@ public class OpisPacketHandler implements IPacketHandler {
|
||||
try{
|
||||
DataInputStream inputStream = new DataInputStream(new ByteArrayInputStream(packet.data));
|
||||
return inputStream.readByte();
|
||||
} catch (IOException e){
|
||||
} catch (Exception e){
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user