Skip to content

Commit 1996021

Browse files
committed
chore: fix exception message in NbtCompoundClass::constructor
1 parent b976620 commit 1996021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/api/NbtAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ NbtCompoundClass* NbtCompoundClass::constructor(const Arguments& args) {
14721472

14731473
return new NbtCompoundClass(args.thiz(), std::move(tag));
14741474
}
1475-
CATCH_C("Fail in Create ListTag!");
1475+
CATCH_C("Fail in Create CompoundTag!");
14761476
}
14771477

14781478
CompoundTag* NbtCompoundClass::extract(Local<Value> v) {

0 commit comments

Comments
 (0)