mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
fix: Update StubServer.java to the latest spigot changes (#1345)
This commit is contained in:
parent
4ffddd8c93
commit
546ad86841
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user