Skip to content

Commit a8858a4

Browse files
Fix build again
1 parent 2159288 commit a8858a4

File tree

1 file changed

+14
-0
lines changed
  • src/main/java/org/maxgamer/quickshop/economy

1 file changed

+14
-0
lines changed

src/main/java/org/maxgamer/quickshop/economy/Trader.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
import org.jetbrains.annotations.Nullable;
3434
import org.maxgamer.quickshop.util.PlayerFinder;
3535

36+
import java.time.Duration;
37+
import java.time.Instant;
3638
import java.util.Date;
3739
import java.util.Map;
3840
import java.util.UUID;
@@ -86,6 +88,18 @@ public BanEntry<PlayerProfile> ban(@Nullable String s, @Nullable Date date, @Nul
8688
return offlinePlayer.ban(s, date, s1);
8789
}
8890

91+
@Nullable
92+
@Override
93+
public BanEntry<PlayerProfile> ban(@Nullable String s, @Nullable Instant instant, @Nullable String s1) {
94+
return offlinePlayer.ban(s, instant, s1);
95+
}
96+
97+
@Nullable
98+
@Override
99+
public BanEntry<PlayerProfile> ban(@Nullable String s, @Nullable Duration duration, @Nullable String s1) {
100+
return offlinePlayer.ban(s, duration, s1);
101+
}
102+
89103
@Override
90104
public boolean isWhitelisted() {
91105
return offlinePlayer.isWhitelisted();

0 commit comments

Comments
 (0)