mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
remove changes in PSV5 integration
This commit is contained in:
1 parent
66943f1e25
commit
4ced657151
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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) {
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user