Add support for web server bindaddress to be set to match MC server-ip setting
This commit is contained in:
parent
336f8302c4
commit
f1c9417237
2 changed files with 8 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ import java.util.concurrent.CancellationException;
|
|||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.Future;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Chunk;
|
||||
import org.bukkit.ChunkSnapshot;
|
||||
|
|
@ -551,6 +552,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
public double getServerTPS() {
|
||||
return tps;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getServerIP() {
|
||||
return Bukkit.getServer().getIp();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Player access abstraction class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue