mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
add back deleter
This commit is contained in:
@@ -529,6 +529,12 @@ void Item::RemoveFromInventory() {
|
||||
|
||||
Item::~Item() {
|
||||
delete preconditions;
|
||||
|
||||
for (auto* value : config) {
|
||||
delete value;
|
||||
}
|
||||
|
||||
config.clear();
|
||||
}
|
||||
|
||||
void Item::SaveConfigXml(tinyxml2::XMLElement& i) const {
|
||||
|
Reference in New Issue
Block a user