This commit is contained in:
sky
2020-03-07 14:08:42 +08:00
parent 97f710809c
commit 76218ab66f
2 changed files with 2 additions and 1 deletions

View File

@@ -92,7 +92,7 @@ public class PacketSerializer implements Listener {
Packet packet = null;
try {
packet = parser.parser((JsonObject) new JsonParser().parse(origin));
} catch (JsonSyntaxException ignore) {
} catch (NullPointerException | JsonSyntaxException ignore) {
} catch (Throwable t) {
t.printStackTrace();
}