mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
More Client fixes
This commit is contained in:
1 parent
4384dbe376
commit
d4ca659ed0
24 files changed
+218
-233
No files matched your search
@@ -63,7 +63,7 @@ public class SoundHandler
|
||||
|
||||
public static boolean soundPlaying(EntityPlayer player, Channel channel)
|
||||
{
|
||||
String name = player.getCommandSenderName();
|
||||
String name = player.getName();
|
||||
Map<String, IResettableSound> map = getMap(name);
|
||||
IResettableSound sound = map.get(channel.getName());
|
||||
|
||||
@@ -72,7 +72,7 @@ public class SoundHandler
|
||||
|
||||
public static void addSound(EntityPlayer player, Channel channel, boolean replace)
|
||||
{
|
||||
String name = player.getCommandSenderName();
|
||||
String name = player.getName();
|
||||
Map<String, IResettableSound> map = getMap(name);
|
||||
IResettableSound sound = map.get(channel.getName());
|
||||
|
||||
@@ -85,7 +85,7 @@ public class SoundHandler
|
||||
|
||||
public static boolean playSound(EntityPlayer player, Channel channel)
|
||||
{
|
||||
String name = player.getCommandSenderName();
|
||||
String name = player.getName();
|
||||
Map<String, IResettableSound> map = getMap(name);
|
||||
IResettableSound sound = map.get(channel.getName());
|
||||
|
||||
@@ -147,7 +147,7 @@ public class SoundHandler
|
||||
|
||||
public static void playSound(String sound)
|
||||
{
|
||||
playSound(PositionedSoundRecord.func_147674_a(new ResourceLocation(sound), 1.0F));
|
||||
playSound(PositionedSoundRecord.create(new ResourceLocation(sound), 1.0F));
|
||||
}
|
||||
|
||||
public static void playSound(ISound sound)
|
||||
|
||||
Reference in new issue
Block a user