randombyte-developer / lottery

A Sponge plugin
https://ore.spongepowered.org/RandomByte/Lottery
GNU General Public License v2.0
0 stars 1 forks source link

Restart clears pot #15

Closed Shybella closed 5 years ago

Shybella commented 6 years ago

Restarting the server while there is a active pot clears the internal data set inside the config.

randombyte-developer commented 6 years ago

When buying a ticket, can you see the config take those changes?

Shybella commented 6 years ago

Yes

randombyte-developer commented 6 years ago

I will investigate that.

Shybella commented 6 years ago

Thanks, I can provide for information if needed.

randombyte-developer commented 6 years ago

I can't reproduce that. What's your Sponge version and lottery version?

Shybella commented 6 years ago

SF: 3320 Lottery: 2.0.2

randombyte-developer commented 6 years ago

Try copying the config when the server is running and then pasting it when the server has shut down. See what happens on startup.

randombyte-developer commented 5 years ago

Closing due to inactivity.

Shybella commented 5 years ago

Totally forgot this was opened, the config isn't cleared but what was happening is a conceindice in restart time and lottery draw.

Not a lottery issue.

randombyte-developer commented 5 years ago

Ah ok.