Fix Travis

This commit is contained in:
Norbi Peti 2019-09-02 15:38:04 +02:00
parent b3939f3c92
commit a4b7f689c0
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;