Fix exception

This commit is contained in:
Luck 2016-09-30 22:26:39 +01:00
parent 7ee3116f29
commit b5ece8b5bd
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -702,7 +702,7 @@ public class Node implements me.lucko.luckperms.api.Node {
this.override = other.isOverride(); this.override = other.isOverride();
this.server = other.getServer().orElse(null); this.server = other.getServer().orElse(null);
this.world = other.getWorld().orElse(null); this.world = other.getWorld().orElse(null);
this.expireAt = other.getExpiryUnixTime(); this.expireAt = other.isPermanent() ? 0L : other.getExpiryUnixTime();
} }
@Override @Override