Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 899e05e

Browse files
committed
feat!: rename NBT tags in minecraft:worldgen/structure_piece / scpsharp:site63/corridor
1 parent dfb0892 commit 899e05e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/kotlin/scpsharp/content/facility/site63/piece/Site63Corridor.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ class Site63Corridor : FacilityStructurePiece {
7575
}
7676

7777
constructor(nbt: NbtCompound) : super(TYPE, nbt) {
78-
this.pos = NbtHelper.toBlockPos(nbt.getCompound("CPos"))
79-
this.length = nbt.getInt("CLen")
78+
this.pos = NbtHelper.toBlockPos(nbt.getCompound("Pos"))
79+
this.length = nbt.getInt("Len")
8080
}
8181

8282
override fun writeNbt(context: StructureContext, nbt: NbtCompound) {
83-
nbt.put("CPos", NbtHelper.fromBlockPos(pos))
84-
nbt.putInt("CLen", length)
83+
nbt.put("Pos", NbtHelper.fromBlockPos(pos))
84+
nbt.putInt("Len", length)
8585
}
8686

8787
override fun generate(

0 commit comments

Comments
 (0)