We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ebee1b commit 3e8cec2Copy full SHA for 3e8cec2
controller-api/src/main/kotlin/app/simplecloud/controller/api/ServerApi.kt
@@ -20,7 +20,7 @@ interface ServerApi {
20
/**
21
* @return a [CompletableFuture] with the [Server] from the SIMPLECLOUD_UNIQUE_ID environment
22
*/
23
- fun getThisServer(): CompletableFuture<Server> {
+ fun getCurrentServer(): CompletableFuture<Server> {
24
return getServerById(System.getenv("SIMPLECLOUD_UNIQUE_ID"))
25
}
26
@@ -134,7 +134,7 @@ interface ServerApi {
134
135
* @return the [Server] from the SIMPLECLOUD_UNIQUE_ID environment
136
137
- suspend fun getThisServer(): Server {
+ suspend fun getCurrentServer(): Server {
138
139
140
0 commit comments