Skip to content

Commit f1b544e

Browse files
committed
Merge branch 'master' into port/neoforge
2 parents e973833 + a491ea9 commit f1b544e

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ forge_version=21.11.0-beta
1212
yarn_mappings_patch_neoforge_version=1.21+build.4
1313

1414
# Mod Properties
15-
mod_version = 1.1.12
15+
mod_version = 1.1.13
1616
maven_group = com.ishland
1717
archives_base_name = rsls-neoforge

src/main/java/com/ishland/fabric/rsls/mixin/MixinSoundExecutor.java

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,22 @@
99
@Mixin(SoundExecutor.class)
1010
public abstract class MixinSoundExecutor extends ThreadExecutor<Runnable> {
1111

12-
@Shadow private volatile boolean stopped;
13-
14-
@Shadow private Thread thread;
15-
1612
protected MixinSoundExecutor(String name) {
1713
super(name);
1814
}
1915

16+
@Override
17+
public boolean runTask() {
18+
synchronized (this) {
19+
return super.runTask();
20+
}
21+
}
22+
23+
@Override
24+
protected void cancelTasks() {
25+
synchronized (this) {
26+
super.cancelTasks();
27+
}
28+
}
29+
2030
}

0 commit comments

Comments
 (0)