From c3e86c67d8a088a335197cd5f2c81326d94ecf0d Mon Sep 17 00:00:00 2001 From: cnaude Date: Mon, 8 Jul 2013 22:06:40 -0700 Subject: [PATCH] Only check damage values for non stairs. --- src/com/cnaude/chairs/EventListener.java | 4 ++-- src/plugin.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/cnaude/chairs/EventListener.java b/src/com/cnaude/chairs/EventListener.java index 8870508..3b822a0 100644 --- a/src/com/cnaude/chairs/EventListener.java +++ b/src/com/cnaude/chairs/EventListener.java @@ -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; diff --git a/src/plugin.yml b/src/plugin.yml index ca7a7cb..8b2787a 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -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: