attempt to fix #197

This commit is contained in:
PrototypeTrousers
2023-01-09 02:26:48 -03:00
parent 9bbd0ad61b
commit d9b4410c94
2 changed files with 6 additions and 14 deletions
+1 -3
View File
@@ -83,9 +83,7 @@ configurations {
dependencies {
// deobfCompile "gregtechce:gregtech:1.12.2:1.15.1.735"
// installable runtime dependencies
//deobfCompile "curse.maven:gregtechceu-557242:3949406"
compileOnly(files("etc/gregtech-1.12.2-2.4.4-beta.jar"))
deobfCompile "curse.maven:gregtechceu-557242:3949406"
compileOnly "curse.maven:chisel-235279:2915375"
@@ -138,18 +138,12 @@ public final class CompassService {
public void kill() {
this.executor.shutdown();
try {
this.executor.awaitTermination(6, TimeUnit.MINUTES);
this.jobSize = 0;
for (final CompassReader cr : this.worldSet.values()) {
cr.close();
}
this.worldSet.clear();
} catch (final InterruptedException e) {
// wrap this up..
this.jobSize = 0;
for (final CompassReader cr : this.worldSet.values()) {
cr.close();
}
this.worldSet.clear();
}
private CompassReader getReader(final World w) {