Towny Classic

Towny Classic

3.2k Downloads

Plot group doesn't delete from SQL DB correctly.

Alienn-Know opened this issue ยท 5 comments

commented

What steps will reproduce the problem?

image
image
/stop - server
start -> server
then
image
and catch unhandeled error

probably because when delete a group it is not deleted from the database, then when start the server and initialize the plugin, incorrect objects of the PlotGroup class are created

What is the expected output?

probably this chunk go to group 1

Towny version

image
without any plugin modifications

Server version

image
without any core modifications

Please use Pastebin.com to link the following files

maybe it won't be needed here

image
image
image

then if you try to /plot group add 1 on another free territory (without a group or group), the same error occurs

added
I understood that when trying to add a new group that did not exist yet, this error occurs, when trying to add an existing group everything happens normally
added
I deleted all group in db and the error disappeared, and doesn't appear again

commented

You did not include your startup log and so I don't know what database type you use

commented

You did not include your startup log and so I don't know what database type you use

mysql

commented