mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +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.misc.DispenserHandlerFertilize;
|
||||
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.network.PacketHandler;
|
||||
import de.ellpeck.actuallyadditions.mod.ore.InitOreDict;
|
||||
|
@ -78,6 +79,7 @@ public class ActuallyAdditions{
|
|||
InitFluids.init();
|
||||
InitItems.init();
|
||||
FuelHandler.init();
|
||||
SoundHandler.init();
|
||||
UpdateChecker.init();
|
||||
InitBooklet.preInit();
|
||||
proxy.preInit(event);
|
||||
|
|
|
@ -109,8 +109,6 @@ public class ClientProxy implements IProxy{
|
|||
this.registerCustomFluidBlockRenderer(InitFluids.fluidCanolaOil);
|
||||
this.registerCustomFluidBlockRenderer(InitFluids.fluidOil);
|
||||
|
||||
SoundHandler.init();
|
||||
|
||||
IResourceManager manager = Minecraft.getMinecraft().getResourceManager();
|
||||
if(manager instanceof IReloadableResourceManager){
|
||||
((IReloadableResourceManager)manager).registerReloadListener(new IResourceManagerReloadListener(){
|
||||
|
|
Loading…
Reference in a new issue