Open PikaMug opened 9 years ago
chestName is simply a copy of what is provided in the config file so each time it would print out
There might be a different variable that we can use though. Let me take a look.
It doesn't even look like that code is called anywhere. It is a private constructor that is not called within that file.
That code is called somewhere when the server starts up, when data exists for a chest in a world which has been removed. My server changes worlds often, so any way to identify which chest the warning refers to would be magical.
Will help the user to edit or remove the afflicted PhatLoot, especially if there are multiple chests in the same world. Have not tested this, but I assume chestName is not empty at this point.