mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 18:47:20 +01:00
Bump MockBukkit with the onDisable fix
This commit is contained in:
parent
12aedc1942
commit
b51cd645bb
@ -123,7 +123,7 @@ dependencies {
|
|||||||
|
|
||||||
// Tests
|
// Tests
|
||||||
testImplementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10'
|
testImplementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10'
|
||||||
testImplementation 'com.github.seeseemelk:MockBukkit-v1.20:3.19.2'
|
testImplementation 'com.github.seeseemelk:MockBukkit-v1.20:3.20.2'
|
||||||
testImplementation('com.googlecode.json-simple:json-simple:1.1.1') {
|
testImplementation('com.googlecode.json-simple:json-simple:1.1.1') {
|
||||||
exclude group: 'junit', module: 'junit'
|
exclude group: 'junit', module: 'junit'
|
||||||
}
|
}
|
||||||
|
@ -151,10 +151,6 @@ public class MultiverseCore extends JavaPlugin implements MVCore {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
if (serviceLocator == null) {
|
|
||||||
// TODO: This is a workaround while waiting for MockBukkit to fix their onDisable being called twice
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.saveAllConfigs();
|
this.saveAllConfigs();
|
||||||
shutdownDependencyInjection();
|
shutdownDependencyInjection();
|
||||||
Logging.shutdown();
|
Logging.shutdown();
|
||||||
|
Loading…
Reference in New Issue
Block a user