tests: Fix StubServer

This commit is contained in:
NotMyFault 2022-02-23 11:25:10 +01:00
parent 77b41e052a
commit 0a04b0b4cd
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -49,6 +49,7 @@ import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.ServicesManager; import org.bukkit.plugin.ServicesManager;
import org.bukkit.plugin.messaging.Messenger; import org.bukkit.plugin.messaging.Messenger;
import org.bukkit.potion.PotionBrewer;
import org.bukkit.scheduler.BukkitScheduler; import org.bukkit.scheduler.BukkitScheduler;
import org.bukkit.scoreboard.ScoreboardManager; import org.bukkit.scoreboard.ScoreboardManager;
import org.bukkit.structure.StructureManager; import org.bukkit.structure.StructureManager;
@ -1078,6 +1079,11 @@ public class StubServer implements Server {
return null; return null;
} }
@Override
public @NotNull PotionBrewer getPotionBrewer() {
return null;
}
@Override @Override
public @NotNull public @NotNull
Iterable<? extends Audience> audiences() { Iterable<? extends Audience> audiences() {