mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed duplication Bug #2419
This commit is contained in:
parent
981523789e
commit
6c29da94f3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user