EpicEricEE / ShopChest

ShopChest - Spigot/Bukkit Plugin
MIT License
45 stars 57 forks source link

Removed shops reappear on reload #328

Open taifexAI opened 4 years ago

taifexAI commented 4 years ago

Server version: git-Paper-1618 (MC: 1.12.2)

Plugin version: ShopChest-1.13-SNAPSHOT

Description: Removed shops will reappear if the chests have remained.

Time of occurrence: The server is (re)loading the plugin.

Effect(s):

Possible reason(s):

Temporary solution(s):

EpicEricEE commented 4 years ago

I suppose there haven't been any messages somewhere in the console, indicating that the database connection is instable?

taifexAI commented 4 years ago

I suppose there haven't been any messages somewhere in the console, indicating that the database connection is instable?

The console doesn't show any error message when removing shops, even if I enabled the debug log. I forgot to point out that the plugin will show 'No Chest found in world {world} at location: {location}' if the chest isn't there anymore. Therefore, I am pretty sure that the database remains the record of removed shops for some reasons. Although I am facing this problem, the function of creating shops works perfectly. I guess the connection doesn't do a commit to the database when the removal is done?