1.14 support, fixes #105

Merged
NorbiPeti merged 21 commits from dev into master 2019-10-30 18:35:43 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit a4b7f689c0 - Show all commits

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;