some changes

Former-commit-id: ada101f4c67897d4e4f065a1dff4f228c5f1fc1a [formerly 4ca9207b76577535dba1c5b35bea3f581fee7da1]
Former-commit-id: 6ce6293541cf763d71c6350a1914f1a51c4a3ab6
This commit is contained in:
Ghost_chu committed 2019-03-13 15:32:52 +08:00
1 parent 9477ec9800
commit ebc590b4e1
1 file changed
+2
@@ -132,6 +132,8 @@ public class QuickShop extends JavaPlugin {
getLogger().info("NOTICE: QSRR will auto-unload in 60 secs.");
try {
Thread.sleep(600000);
Bukkit.getPluginManager().disablePlugin(this);
return;
} catch (InterruptedException e) {
e.printStackTrace();
Bukkit.getPluginManager().disablePlugin(this);