fix: Update StubServer.java to the latest spigot changes (#1345)

Dieser Commit ist enthalten in:
Pierre Maurice Schwang 2021-10-07 19:05:56 +02:00 committet von GitHub
Ursprung 4ffddd8c93
Commit 546ad86841
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -50,6 +50,7 @@ import org.bukkit.plugin.ServicesManager;
import org.bukkit.plugin.messaging.Messenger; import org.bukkit.plugin.messaging.Messenger;
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.util.CachedServerIcon; import org.bukkit.util.CachedServerIcon;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
@ -226,6 +227,11 @@ public class StubServer implements Server {
return 0; return 0;
} }
@Override
public int getTicksPerWaterUndergroundCreatureSpawns() {
return 0;
}
@Override @Override
public int getTicksPerAmbientSpawns() { public int getTicksPerAmbientSpawns() {
return 0; return 0;
@ -693,6 +699,11 @@ public class StubServer implements Server {
return 0; return 0;
} }
@Override
public int getWaterUndergroundCreatureSpawnLimit() {
return 0;
}
@Override @Override
public int getAmbientSpawnLimit() { public int getAmbientSpawnLimit() {
return 0; return 0;
@ -918,6 +929,11 @@ public class StubServer implements Server {
return null; return null;
} }
@Override
public @NotNull StructureManager getStructureManager() {
return null;
}
/** /**
* @deprecated * @deprecated
*/ */