Skip to content

Commit

Permalink
Quick fix to use nodes directly instead of edges for determining car …
Browse files Browse the repository at this point in the history
…locations
  • Loading branch information
jenchanws committed Apr 8, 2023
1 parent dadbc62 commit 39e4251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2G

maven_group = com.littlechasiu
archives_base_name = create-track-map
mod_version = 1.0
mod_version = 1.0.1

minecraft_version = 1.19.2
loader_version = 0.14.12
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/littlechasiu/trackmap/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ val TrackEdge.sendable
val TravellingPoint.sendable
get() =
DimensionLocation(
dimension = edge.node1.location.dimension.string,
dimension = node1?.location?.dimension?.string ?: "",
location = getPosition().sendable,
)

Expand Down

0 comments on commit 39e4251

Please sign in to comment.