From 60aa7c6104e48c0d29025599a3a0eb108d5804f1 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 12 Mar 2018 21:27:23 +0000 Subject: [PATCH] Fix compile --- .../lucko/luckperms/common/node/NodeBuilder.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/common/src/main/java/me/lucko/luckperms/common/node/NodeBuilder.java b/common/src/main/java/me/lucko/luckperms/common/node/NodeBuilder.java index daf58801..16027117 100644 --- a/common/src/main/java/me/lucko/luckperms/common/node/NodeBuilder.java +++ b/common/src/main/java/me/lucko/luckperms/common/node/NodeBuilder.java @@ -101,6 +101,13 @@ class NodeBuilder implements Node.Builder { return this; } + @Nonnull + @Override + public Node.Builder clearExpiry() { + this.expireAt = 0L; + return this; + } + @Nonnull @Override public Node.Builder setWorld(String world) { @@ -167,6 +174,13 @@ class NodeBuilder implements Node.Builder { return this; } + @Nonnull + @Override + public Node.Builder setExtraContext(@Nonnull ContextSet contextSet) { + this.extraContexts = ImmutableContextSet.builder().addAll(contextSet); + return this; + } + @Nonnull @Override public Node build() {