Skip to content

Commit

Permalink
Fix test compile error due to Spigot mid-version API break
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Jul 2, 2023
1 parent e90014d commit 93e413c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

package com.sk89q.wepif;

import org.bukkit.BanEntry;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.OfflinePlayer;
Expand All @@ -32,6 +33,7 @@
import org.bukkit.plugin.Plugin;
import org.bukkit.profile.PlayerProfile;

import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Locale;
Expand Down Expand Up @@ -155,6 +157,11 @@ public boolean isBanned() {
throw new UnsupportedOperationException("Not supported yet.");
}

@Override
public BanEntry<PlayerProfile> ban(String reason, Date expires, String source) {
throw new UnsupportedOperationException("Not supported yet.");
}

@Override
public boolean isWhitelisted() {
throw new UnsupportedOperationException("Not supported yet.");
Expand Down

0 comments on commit 93e413c

Please sign in to comment.