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

This commit is contained in:
Pierre Maurice Schwang 2021-10-07 19:05:56 +02:00 committed by GitHub
parent 4ffddd8c93
commit 546ad86841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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