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