Skip to content

Commit 941f8d6

Browse files
committed
Fix typo in HexPattern.CODEC
1 parent ef2cd28 commit 941f8d6

File tree

1 file changed

+2
-2
lines changed
  • Common/src/main/java/at/petrak/hexcasting/api/casting/math

1 file changed

+2
-2
lines changed

Common/src/main/java/at/petrak/hexcasting/api/casting/math/HexPattern.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ data class HexPattern(val startDir: HexDir, val angles: MutableList<HexAngle> =
131131

132132
@JvmField
133133
val CODEC: Codec<HexPattern> = RecordCodecBuilder.create({instance -> instance.group(
134-
Codec.STRING.fieldOf(TAG_START_DIR).forGetter(HexPattern::anglesSignature),
135-
HexDir.CODEC.fieldOf(TAG_ANGLES).forGetter(HexPattern::startDir)
134+
Codec.STRING.fieldOf(TAG_ANGLES).forGetter(HexPattern::anglesSignature),
135+
HexDir.CODEC.fieldOf(TAG_START_DIR).forGetter(HexPattern::startDir)
136136
).apply(instance, HexPattern::fromAngles)
137137
})
138138

0 commit comments

Comments
 (0)