Only update if using java 8

This commit is contained in:
Jesse Boyd 2017-02-12 14:19:25 +11:00
parent 07945af0e0
commit 897d86b5cb
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -259,7 +259,7 @@ public class Fawe {
TaskManager.IMP.repeat(timer, 1);
if (Settings.IMP.UPDATE) {
if (Settings.IMP.UPDATE && isJava8()) {
// Delayed updating
TaskManager.IMP.async(new Runnable() {
@Override