Fix exception

This commit is contained in:
Luck
2016-09-30 22:26:39 +01:00
Unverified
parent 7ee3116f29
commit b5ece8b5bd
@@ -702,7 +702,7 @@ public class Node implements me.lucko.luckperms.api.Node {
this.override = other.isOverride();
this.server = other.getServer().orElse(null);
this.world = other.getWorld().orElse(null);
this.expireAt = other.getExpiryUnixTime();
this.expireAt = other.isPermanent() ? 0L : other.getExpiryUnixTime();
}
@Override