Skip to content

Commit

Permalink
fix(mod): use a dimension resource key for the world name
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Apr 9, 2024
1 parent cc70ca6 commit 7f4839e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ModServerWorld(
private val level: ServerLevel
) : McServerWorld {

override val name: String = (level.levelData as ServerLevelData).levelName
override val name: String = level.dimension().location().toString()

override fun sendGameEvent(entity: McServerEntity, gameEvent: String) {
//#if MC>=11900
Expand Down

0 comments on commit 7f4839e

Please sign in to comment.