Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Nov 15, 2023
1 parent 642a478 commit 1756210
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class BlueprintEnvironmentManager private constructor(private val server: Minecr
* Gets an environment manager for the server or creates one if not present.
*/
fun getOrCreate(server: MinecraftServer): BlueprintEnvironmentManager {
Preconditions.checkState(server.isOnThread, "Cannot create manager off-thread")
Preconditions.checkState(server.isOnThread, "Cannot create blueprint environment manager off-thread")
return MANAGERS.computeIfAbsent(server, ::BlueprintEnvironmentManager)
}

Expand Down

0 comments on commit 1756210

Please sign in to comment.