File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed
java/org/maxgamer/quickshop Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 365365 <id >IridiumDevelopment</id >
366366 <url >https://nexus.iridiumdevelopment.net/repository/maven-releases/</url >
367367 </repository >
368- <repository >
369- <id >MG-Dev Jenkins CI Maven Repository</id >
370- <url >https://ci.mg-dev.eu/plugin/repository/everything/</url >
371- </repository >
372368 <repository >
373369 <id >Sparky</id >
374370 <url >https://nexus.sparky.ac/repository/Sparky/</url >
840836 <version >2.11.0</version >
841837 <scope >compile</scope >
842838 </dependency >
843- <dependency >
844- <groupId >com.bergerkiller.bukkit</groupId >
845- <artifactId >BKCommonLib</artifactId >
846- <version >1.17.1-v3</version >
847- <scope >provided</scope >
848- </dependency >
849839 <dependency >
850840 <groupId >org.maxgamer.storage</groupId >
851841 <artifactId >simplixstorage</artifactId >
Original file line number Diff line number Diff line change 3939import org .bukkit .entity .Player ;
4040import org .bukkit .event .HandlerList ;
4141import org .bukkit .event .entity .ItemSpawnEvent ;
42- import org .bukkit .plugin .*;
4342import org .bukkit .plugin .java .JavaPlugin ;
4443import org .bukkit .plugin .java .JavaPluginLoader ;
4544import org .bukkit .scheduler .BukkitRunnable ;
@@ -1956,6 +1955,12 @@ private void updateConfig(int selectedVersion) throws IOException {
19561955 getConfiguration ().remove ("language" );
19571956 getConfiguration ().set ("config-version" , ++selectedVersion );
19581957 }
1958+ if (selectedVersion == 147 ) {
1959+ // Updater set it to true because plugin upgrading
1960+ // Default configuration disable it cause probably fresh install
1961+ getConfiguration ().remove ("plugin.BKCommonLib" );
1962+ getConfiguration ().set ("config-version" , ++selectedVersion );
1963+ }
19591964 if (getConfiguration ().getInt ("matcher.work-type" ) != 0 && GameVersion .get (ReflectFactory .getServerVersion ()).name ().contains ("1_16" )) {
19601965 getLogger ().warning ("You are not using QS Matcher, it may meeting item comparing issue mentioned there: https://hub.spigotmc.org/jira/browse/SPIGOT-5063" );
19611966 }
Original file line number Diff line number Diff line change 11# QuickShop-Reremake Plugin Configuration
22
33# Do not touch this if you don't know what you're doing!
4- config-version : 147
4+ config-version : 148
55
66# This language will used by Item Name, Enchantment Name,
77# and Potion Effect Name or the text on the shop info sign (nbtapi not installed) and other them related position.
@@ -456,8 +456,6 @@ plugin:
456456 PlaceHolderAPI : true
457457 # If you have LWC/LWCX, QuickShop will check access.
458458 LWC : true
459- # If you have BKCommonLib, QuickShop will load fast utils to improve performance.
460- BKCommonLib : true
461459 # If you use BlockHub, Should QuickShop use BlockHub to check region access for players?
462460 BlockHub :
463461 enable : true
You can’t perform that action at this time.
0 commit comments