Client side note blocks don't play it seems (reverse-merged from commit 0b60d4efe2)

This commit is contained in:
md_5 2012-05-26 14:45:40 +10:00
parent 7f5f6b6ac9
commit 409f337973

View file

@ -125,7 +125,7 @@ public class Commandessentials extends EssentialsCommand
if (loc.getBlock().getTypeId() == 0) if (loc.getBlock().getTypeId() == 0)
{ {
noteBlocks.put(player, loc.getBlock()); noteBlocks.put(player, loc.getBlock());
player.sendBlockChange(loc, Material.NOTE_BLOCK, (byte)0); loc.getBlock().setType(Material.NOTE_BLOCK);
} }
} }
taskid = ess.scheduleSyncRepeatingTask(new Runnable() taskid = ess.scheduleSyncRepeatingTask(new Runnable()