Fixed duplication Bug #2419

This commit is contained in:
isokissa3 2015-03-11 11:36:51 +02:00
parent 981523789e
commit 6c29da94f3

View File

@ -94,9 +94,9 @@ public class BlockListener implements Listener {
*/ */
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onBlockPistonRetract(BlockPistonRetractEvent event) { public void onBlockPistonRetract(BlockPistonRetractEvent event) {
if (!EventUtils.shouldProcessEvent(event.getBlock(), false)) { /*if (!EventUtils.shouldProcessEvent(event.getBlock(), false)) {
return; return;
} }*/
if (!event.isSticky()) { if (!event.isSticky()) {
return; return;