Fix
This commit is contained in:
parent
97f710809c
commit
76218ab66f
@ -37,6 +37,7 @@ dependencies {
|
||||
shadow group: 'me.clip', name: 'placeholderapi', version: '2.10.4'
|
||||
shadow group: 'com.google.inject', name: 'guice', version: '4.2.2'
|
||||
shadow fileTree(dir: 'libs', includes: ['*.jar'])
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user