Post SoundLoadEvent on mod bus instead of forge bus (#6955)

This commit is contained in:
Joseph Tarbit 2020-07-27 21:26:51 +01:00 committed by GitHub
parent e3137213e5
commit cf7784ac4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
this.field_148622_c = p_i50892_1_;
this.field_148619_d = p_i50892_2_;
this.field_217939_i = new AudioStreamManager(p_i50892_3_);
+ net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.client.event.sound.SoundSetupEvent(this));
+ net.minecraftforge.fml.ModLoader.get().postEvent(new net.minecraftforge.client.event.sound.SoundLoadEvent(this));
}
public void func_148596_a() {