summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <md_5@bigpond.com>2012-05-26 14:45:40 +1000
committermd_5 <md_5@bigpond.com>2012-05-26 14:47:30 +1000
commit409f33797338c6c18f0f2949bbbf40314e1527b4 (patch)
tree80b320fa4744bf005ad2c0f94948fcec0568aa3c
parent7f5f6b6ac9a8b6c9ba6986d61a8c502e85f8c8ee (diff)
downloadEssentials-409f33797338c6c18f0f2949bbbf40314e1527b4.tar
Essentials-409f33797338c6c18f0f2949bbbf40314e1527b4.tar.gz
Essentials-409f33797338c6c18f0f2949bbbf40314e1527b4.tar.lz
Essentials-409f33797338c6c18f0f2949bbbf40314e1527b4.tar.xz
Essentials-409f33797338c6c18f0f2949bbbf40314e1527b4.zip
Client side note blocks don't play it seems (reverse-merged from commit 0b60d4efe2fed324131e083f6d4168256d943588)
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandessentials.java2
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()