remove changes in PSV5 integration

This commit is contained in:
Ghost_chu committed 2021-09-04 10:21:48 +08:00
1 parent 66943f1e25
commit 4ced657151
2 files changed
+4 -4

No files matched your search

@@ -99,8 +99,8 @@ public class PlotSquaredIntegrationV5 extends QSIntegratedPlugin {
this.createFlag = new QuickshopCreateFlag();
this.tradeFlag = new QuickshopTradeFlag();
GlobalFlagContainer.getInstance().addAll(Arrays.asList(createFlag, tradeFlag));
plugin.getLogger().info("{0} flags register successfully.",getName());
Util.debugLog("Success register flags.",getName());
plugin.getLogger().info(ChatColor.GREEN + getName() + " flags register successfully.");
Util.debugLog("Success register " + getName() + " flags.");
PlotSquared.get().getEventDispatcher().registerListener(this);
}
@@ -598,8 +598,8 @@ public class QuickShop extends JavaPlugin {
}
Util.debugLog("Unloading all shops...");
try {
if (this.getShopManager() != null) {
this.getShopManager().getLoadedShops().forEach(Shop::onUnload);
if (getShopManager() != null) {
getShopManager().getLoadedShops().forEach(Shop::onUnload);
}
} catch (Exception ignored) {
}