Fix remove shop only remove in db not unload from memory

Former-commit-id: b8cecacdb89fc2dda47655551918ae86ef2d561c [formerly 976e6a1cb5fb3d406faddfd6e24066c92add55f4]
Former-commit-id: 86e6da5dc54e8ec99e53cdc7e8dc1ceaaad40d54
This commit is contained in:
Ghost_chu committed 2019-05-02 22:52:24 +08:00
1 parent 92cfb827cd
commit b3590c62e0
1 file changed
+1
@@ -653,6 +653,7 @@ public class ContainerShop implements Shop {
plugin.getShopManager().removeShop(this);
}else {
try {
plugin.getShopManager().removeShop(this);
DatabaseHelper.removeShop(plugin.getDB(), x, y, z, world);
} catch (SQLException e) {
e.printStackTrace();