Skip to content

Commit 2159288

Browse files
Fix build
1 parent 5a120a0 commit 2159288

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
package org.maxgamer.quickshop.economy;
2121

2222
import lombok.AllArgsConstructor;
23+
import org.bukkit.BanEntry;
2324
import org.bukkit.Bukkit;
2425
import org.bukkit.Location;
2526
import org.bukkit.Material;
@@ -32,6 +33,7 @@
3233
import org.jetbrains.annotations.Nullable;
3334
import org.maxgamer.quickshop.util.PlayerFinder;
3435

36+
import java.util.Date;
3537
import java.util.Map;
3638
import java.util.UUID;
3739

@@ -78,6 +80,12 @@ public boolean isBanned() {
7880
return offlinePlayer.isBanned();
7981
}
8082

83+
@Nullable
84+
@Override
85+
public BanEntry<PlayerProfile> ban(@Nullable String s, @Nullable Date date, @Nullable String s1) {
86+
return offlinePlayer.ban(s, date, s1);
87+
}
88+
8189
@Override
8290
public boolean isWhitelisted() {
8391
return offlinePlayer.isWhitelisted();

0 commit comments

Comments
 (0)