mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Fixed sounds not working on servers
This commit is contained in:
parent
54c618231f
commit
40d02814ea
2 changed files with 2 additions and 2 deletions
|
@ -30,6 +30,7 @@ import de.ellpeck.actuallyadditions.mod.material.InitArmorMaterials;
|
||||||
import de.ellpeck.actuallyadditions.mod.material.InitToolMaterials;
|
import de.ellpeck.actuallyadditions.mod.material.InitToolMaterials;
|
||||||
import de.ellpeck.actuallyadditions.mod.misc.DispenserHandlerFertilize;
|
import de.ellpeck.actuallyadditions.mod.misc.DispenserHandlerFertilize;
|
||||||
import de.ellpeck.actuallyadditions.mod.misc.DungeonLoot;
|
import de.ellpeck.actuallyadditions.mod.misc.DungeonLoot;
|
||||||
|
import de.ellpeck.actuallyadditions.mod.misc.SoundHandler;
|
||||||
import de.ellpeck.actuallyadditions.mod.misc.WorldData;
|
import de.ellpeck.actuallyadditions.mod.misc.WorldData;
|
||||||
import de.ellpeck.actuallyadditions.mod.network.PacketHandler;
|
import de.ellpeck.actuallyadditions.mod.network.PacketHandler;
|
||||||
import de.ellpeck.actuallyadditions.mod.ore.InitOreDict;
|
import de.ellpeck.actuallyadditions.mod.ore.InitOreDict;
|
||||||
|
@ -78,6 +79,7 @@ public class ActuallyAdditions{
|
||||||
InitFluids.init();
|
InitFluids.init();
|
||||||
InitItems.init();
|
InitItems.init();
|
||||||
FuelHandler.init();
|
FuelHandler.init();
|
||||||
|
SoundHandler.init();
|
||||||
UpdateChecker.init();
|
UpdateChecker.init();
|
||||||
InitBooklet.preInit();
|
InitBooklet.preInit();
|
||||||
proxy.preInit(event);
|
proxy.preInit(event);
|
||||||
|
|
|
@ -109,8 +109,6 @@ public class ClientProxy implements IProxy{
|
||||||
this.registerCustomFluidBlockRenderer(InitFluids.fluidCanolaOil);
|
this.registerCustomFluidBlockRenderer(InitFluids.fluidCanolaOil);
|
||||||
this.registerCustomFluidBlockRenderer(InitFluids.fluidOil);
|
this.registerCustomFluidBlockRenderer(InitFluids.fluidOil);
|
||||||
|
|
||||||
SoundHandler.init();
|
|
||||||
|
|
||||||
IResourceManager manager = Minecraft.getMinecraft().getResourceManager();
|
IResourceManager manager = Minecraft.getMinecraft().getResourceManager();
|
||||||
if(manager instanceof IReloadableResourceManager){
|
if(manager instanceof IReloadableResourceManager){
|
||||||
((IReloadableResourceManager)manager).registerReloadListener(new IResourceManagerReloadListener(){
|
((IReloadableResourceManager)manager).registerReloadListener(new IResourceManagerReloadListener(){
|
||||||
|
|
Loading…
Reference in a new issue