Only check damage values for non stairs.
This commit is contained in:
parent
86dfae9f80
commit
c3e86c67d8
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user