mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
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:
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();
|
||||
|
||||
Reference in new issue
Block a user