I dont think free noteblocks are a good idea

This commit is contained in:
md_5 2012-03-05 18:40:18 +11:00
parent d31e434e4d
commit 0b60d4efe2

View File

@ -117,7 +117,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());
loc.getBlock().setType(Material.NOTE_BLOCK); player.sendBlockChange(loc, Material.NOTE_BLOCK, (byte)0);
} }
} }
taskid = ess.scheduleSyncRepeatingTask(new Runnable() taskid = ess.scheduleSyncRepeatingTask(new Runnable()
@ -149,7 +149,6 @@ public class Commandessentials extends EssentialsCommand
} }
} }
}, 20, 2); }, 20, 2);
return;
} }
private void stopTune() private void stopTune()