mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-15 05:23:54 +00:00
Implement missing methods in tests
This commit is contained in:
@ -33,6 +33,7 @@ import org.bukkit.command.ConsoleCommandSender;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.SpawnCategory;
|
||||
import org.bukkit.event.inventory.InventoryType;
|
||||
import org.bukkit.generator.ChunkGenerator;
|
||||
import org.bukkit.help.HelpMap;
|
||||
@ -262,6 +263,11 @@ public class StubServer implements Server {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getTicksPerSpawns(@NotNull final SpawnCategory spawnCategory) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable
|
||||
Player getPlayer(@NotNull String s) {
|
||||
@ -557,6 +563,24 @@ public class StubServer implements Server {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.bukkit.profile.@NotNull PlayerProfile createPlayerProfile(
|
||||
@Nullable final UUID uniqueId,
|
||||
@Nullable final String name
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.bukkit.profile.@NotNull PlayerProfile createPlayerProfile(@NotNull final UUID uniqueId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.bukkit.profile.@NotNull PlayerProfile createPlayerProfile(@NotNull final String name) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull
|
||||
Set<String> getIPBans() {
|
||||
@ -744,6 +768,11 @@ public class StubServer implements Server {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSpawnLimit(@NotNull final SpawnCategory spawnCategory) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPrimaryThread() {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user