diff options
author | md_5 <md_5@bigpond.com> | 2012-05-26 14:45:40 +1000 |
---|---|---|
committer | md_5 <md_5@bigpond.com> | 2012-05-26 14:47:30 +1000 |
commit | 9e1eb837961c0f6a758fd4ed188202ebdf0c53ba (patch) | |
tree | a58f7650cdc98bf97bac015edb54207d182fa883 | |
parent | cbe3aec6702c5a6be0aa9c9640054a9ba7016550 (diff) | |
download | Essentials-9e1eb837961c0f6a758fd4ed188202ebdf0c53ba.tar Essentials-9e1eb837961c0f6a758fd4ed188202ebdf0c53ba.tar.gz Essentials-9e1eb837961c0f6a758fd4ed188202ebdf0c53ba.tar.lz Essentials-9e1eb837961c0f6a758fd4ed188202ebdf0c53ba.tar.xz Essentials-9e1eb837961c0f6a758fd4ed188202ebdf0c53ba.zip |
Client side note blocks don't play it seems (reverse-merged from commit d83437e3942f7323e4883118bb645d26b62d3f7a)
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandessentials.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java index 6b248f6d5..ca746c5a8 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java @@ -125,7 +125,7 @@ public class Commandessentials extends EssentialsCommand if (loc.getBlock().getTypeId() == 0) { noteBlocks.put(player, loc.getBlock()); - player.sendBlockChange(loc, Material.NOTE_BLOCK, (byte)0); + loc.getBlock().setType(Material.NOTE_BLOCK); } } taskid = ess.scheduleSyncRepeatingTask(new Runnable() |