Only check damage values for non stairs.

This commit is contained in:
cnaude 2013-07-08 22:06:40 -07:00
parent 86dfae9f80
commit c3e86c67d8
2 changed files with 3 additions and 3 deletions

View File

@ -162,8 +162,8 @@ public class EventListener implements Listener {
}
for (ChairBlock cb : plugin.allowedBlocks) {
plugin.logInfo("Comparing: (" + cb.getMat().name() + " ? " + block.getType().name() + ") ("
+ cb.getDamage() + " ? " + block.getData() + ")");
//plugin.logInfo("Comparing: (" + cb.getMat().name() + " ? " + block.getType().name() + ") ("
// + cb.getDamage() + " ? " + block.getData() + ")");
if (cb.getMat().toString().contains("STAIRS")) {
if (cb.getMat().equals(block.getType())) {
blockOkay = true;

View File

@ -1,5 +1,5 @@
name: Chairs
version: 2.1.4b
version: 2.1.4c
description: Let players sit on blocks.
website: http://dev.bukkit.org/bukkit-plugins/chairsreloaded/
authors: