1.14 support, fixes #105
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ language: java
|
|||
jdk:
|
||||
- oraclejdk8
|
||||
sudo: true
|
||||
dist: trusty # Needed for Java 8, although we might not need Java 8
|
||||
deploy:
|
||||
# deploy develop to the staging environment
|
||||
- provider: script
|
||||
|
|
|
@ -47,7 +47,7 @@ public class VanillaUtils {
|
|||
if (notCraftPlayer(pl.getClass())) return true; //Need to check each time
|
||||
val ph = hm.invoke(pl); //pl.getHandle()
|
||||
val flags = gcfm.invoke(ph); //handle.getChatFlags()
|
||||
return flags == full; //TODO: It's only checked if not global
|
||||
return flags == full;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue