Skip to content

Commit

Permalink
Unnecessary code edited out.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoonie committed Jan 10, 2015
1 parent aa34a4b commit d1873ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion java/com/dynious/soundscool/client/gui/GuiSoundPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion java/com/dynious/soundscool/helper/NetworkHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void syncPlayerSounds(EntityPlayer player)

public static void syncAllPlayerSounds()
{
NetworkHelper.sendMessageToAll(new UploadedSoundsPacket());
sendMessageToAll(new UploadedSoundsPacket());
}

@SideOnly(Side.CLIENT)
Expand Down

0 comments on commit d1873ef

Please sign in to comment.