Add stone button id to message generator

This commit is contained in:
Ammar Askar
2013-01-22 14:36:47 +05:00
parent 1bfa968a48
commit bc6ab367f6

View File

@@ -70,7 +70,7 @@ public class BlockChange implements LookupCacheElement
msg.append(data == 0 ? "opened" : "closed").append(" ").append(materialName(type)); msg.append(data == 0 ? "opened" : "closed").append(" ").append(materialName(type));
else if (type == 69) else if (type == 69)
msg.append("switched ").append(materialName(type)); msg.append("switched ").append(materialName(type));
else if (type == 77) else if (type == 77 || type == 143)
msg.append("pressed ").append(materialName(type)); msg.append("pressed ").append(materialName(type));
else if (type == 92) else if (type == 92)
msg.append("ate a piece of ").append(materialName(type)); msg.append("ate a piece of ").append(materialName(type));