0 errors. This is it, the first building build of Mekanism for 1.7.2, and also the most buggy build of Mekanism to date most likely.

(I remembered to update the obfuscated reflections, so there's that)
This commit is contained in:
Aidan C. Brady committed 2014-06-03 00:21:00 +02:00
1 parent 4446e14ba3
commit 5b611c9cdb
8 files changed
+30 -22

No files matched your search

@@ -197,7 +197,7 @@ public class ClientProxy extends CommonProxy
@Override
public void registerSound(Object obj)
{
if(MekanismClient.enableSounds && Minecraft.getMinecraft().sndManager.sndSystem != null)
if(MekanismClient.enableSounds && MekanismClient.audioHandler != null)
{
synchronized(MekanismClient.audioHandler.sounds)
{
@@ -209,7 +209,7 @@ public class ClientProxy extends CommonProxy
@Override
public void unregisterSound(TileEntity tileEntity)
{
if(MekanismClient.enableSounds && Minecraft.getMinecraft().sndManager.sndSystem != null)
if(MekanismClient.enableSounds && MekanismClient.audioHandler != null)
{
synchronized(MekanismClient.audioHandler.sounds)
{
@@ -234,7 +234,7 @@ public class ClientProxy extends CommonProxy
entityplayer.openContainer.windowId = windowId;
}
else {
FMLClientHandler.instance().getClient().sndManager.playSoundFX("random.chestopen", 1.0F, 1.0F);
SoundHandler.playSound("random.chestopen");
ItemStack stack = entityplayer.getCurrentEquippedItem();
if(stack != null && stack.getItem() instanceof IElectricChest && MachineType.get(stack) == MachineType.ELECTRIC_CHEST)