mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Remove mv depend, bump ver to 2.0.0
Former-commit-id: 42f08d02a974d8a91c769a9d31fb77cdac546e1d [formerly da8fc20248e657b09c8216256f1d35596338f8f6] Former-commit-id: 1c2e7e7f6ed0df92d55ad4b3c1611895fc1bb072
This commit is contained in:
1 parent
0382b2c8c9
commit
b44ca4c9fc
2 files changed
+7
-15
No files matched your search
@@ -6,7 +6,6 @@ import java.sql.Timestamp;
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import com.onarandombox.MultiverseCore.MultiverseCore;
|
||||
import lombok.*;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
@@ -82,7 +81,6 @@ public class QuickShop extends JavaPlugin {
|
||||
private boolean useSpout = false;
|
||||
// private Metrics metrics;
|
||||
private QS commandExecutor = null;
|
||||
private MultiverseCore mvPlugin = null;
|
||||
private int displayItemCheckTicks;
|
||||
private boolean noopDisable;
|
||||
private boolean setupDBonEnableding = false;
|
||||
@@ -168,12 +166,12 @@ public class QuickShop extends JavaPlugin {
|
||||
private void load3rdParty() {
|
||||
// ProtocolLib Support
|
||||
// protocolManager = ProtocolLibrary.getProtocolManager();
|
||||
if (getConfig().getBoolean("plugin.Multiverse-Core")) {
|
||||
if (Bukkit.getPluginManager().getPlugin("Multiverse-Core") != null) {
|
||||
mvPlugin = (MultiverseCore) Bukkit.getPluginManager().getPlugin("Multiverse-Core");
|
||||
getLogger().info("Successfully loaded MultiverseCore support!");
|
||||
}
|
||||
}
|
||||
// if (getConfig().getBoolean("plugin.Multiverse-Core")) {
|
||||
// if (Bukkit.getPluginManager().getPlugin("Multiverse-Core") != null) {
|
||||
// mvPlugin = (MultiverseCore) Bukkit.getPluginManager().getPlugin("Multiverse-Core");
|
||||
// getLogger().info("Successfully loaded MultiverseCore support!");
|
||||
// }
|
||||
// }
|
||||
// added for compatibility reasons with OpenInv - see
|
||||
// https://github.com/KaiKikuchi/QuickShop/issues/139
|
||||
if (getConfig().getBoolean("plugin.OpenInv")) {
|
||||
|
||||
Reference in new issue
Block a user