Skip to content

Commit f0794a9

Browse files
Fixed pack format displaying rp version as dp version
1 parent 0978c06 commit f0794a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cogs/commands/packformat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def packformat(
4747
if format["resource_pack_version"]["minor"] != 0:
4848
rpv += "." + str(format["resource_pack_version"]["minor"])
4949

50-
out = f"**Datapack:** `{dpv}`\n**Resource Pack:** `{dpv}`"
50+
out = f"**Datapack:** `{dpv}`\n**Resource Pack:** `{rpv}`"
5151
else:
5252
for format in pack_formats:
5353
dpv = str(format["data_pack_version"]["major"])
@@ -61,4 +61,4 @@ async def packformat(
6161
out += f"- **{format['id']}**: Datapack: `{dpv}` • Resource Pack: `{rpv}`\n"
6262

6363
# Send message
64-
await inter.respond(view=PackFormatView(version, out))
64+
await inter.respond(view=PackFormatView(version, out))

0 commit comments

Comments
 (0)