diff --git a/src/amulet_nbt/pybind/tag/py_named_tag.cpp b/src/amulet_nbt/pybind/tag/py_named_tag.cpp index d1e7158b..3a8bde88 100644 --- a/src/amulet_nbt/pybind/tag/py_named_tag.cpp +++ b/src/amulet_nbt/pybind/tag/py_named_tag.cpp @@ -61,7 +61,7 @@ void init_named_tag(py::module& m) { } ); - py::class_ NamedTag(m, "NamedTag"); + py::class_> NamedTag(m, "NamedTag"); NamedTag.def( py::init([](std::variant value, std::string name) { return std::visit([&name](auto&& tag) {