From e12650d62bb5d1c49ea6fa3016cd0a8ddd6d1cab Mon Sep 17 00:00:00 2001 From: Shevchik Date: Thu, 12 May 2016 16:21:52 +0300 Subject: [PATCH] Remove is material solid check --- src/com/cnaude/chairs/listeners/TrySitEventListener.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/com/cnaude/chairs/listeners/TrySitEventListener.java b/src/com/cnaude/chairs/listeners/TrySitEventListener.java index dcf3dd7..7b801a7 100644 --- a/src/com/cnaude/chairs/listeners/TrySitEventListener.java +++ b/src/com/cnaude/chairs/listeners/TrySitEventListener.java @@ -98,9 +98,6 @@ public class TrySitEventListener implements Listener { if (block.getRelative(BlockFace.DOWN).isEmpty()) { return false; } - if (!block.getRelative(BlockFace.DOWN).getType().isSolid()) { - return false; - } // Check for distance distance between player and chair. if (plugin.distance > 0 && player.getLocation().distance(block.getLocation().add(0.5, 0, 0.5)) > plugin.distance) {