From d1873ef44c64a2a04caadbc573ec71932bc9f5af Mon Sep 17 00:00:00 2001 From: zoonie Date: Sat, 10 Jan 2015 03:34:38 +0000 Subject: [PATCH] Unnecessary code edited out. --- java/com/dynious/soundscool/client/gui/GuiSoundPlayer.java | 1 - java/com/dynious/soundscool/helper/NetworkHelper.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/java/com/dynious/soundscool/client/gui/GuiSoundPlayer.java b/java/com/dynious/soundscool/client/gui/GuiSoundPlayer.java index 1e425e2..538b42e 100644 --- a/java/com/dynious/soundscool/client/gui/GuiSoundPlayer.java +++ b/java/com/dynious/soundscool/client/gui/GuiSoundPlayer.java @@ -81,7 +81,6 @@ protected void actionPerformed(GuiButton button) case 1: if (tile.getSelectedSound() != null) { - NetworkHelper.syncPlayerSounds(Minecraft.getMinecraft().thePlayer); SoundsCool.network.sendToServer(new SoundPlayerPlayPacket(tile)); } break; diff --git a/java/com/dynious/soundscool/helper/NetworkHelper.java b/java/com/dynious/soundscool/helper/NetworkHelper.java index fbe9cc2..b26a23a 100644 --- a/java/com/dynious/soundscool/helper/NetworkHelper.java +++ b/java/com/dynious/soundscool/helper/NetworkHelper.java @@ -53,7 +53,7 @@ public static void syncPlayerSounds(EntityPlayer player) public static void syncAllPlayerSounds() { - NetworkHelper.sendMessageToAll(new UploadedSoundsPacket()); + sendMessageToAll(new UploadedSoundsPacket()); } @SideOnly(Side.CLIENT)