forked from chipmunk.land-kaboomserver/extras
Don't stop iterating if we find other cobwebs in spidey iterator
This commit is contained in:
parent
989cda2998
commit
820cea9335
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public final class CommandSpidey implements CommandExecutor {
|
|||
while (blockIterator.hasNext()) {
|
||||
final Block block = blockIterator.next();
|
||||
|
||||
if (!block.getType().isAir()) break;
|
||||
if (block.getType() != Material.COBWEB && !block.getType().isAir()) break;
|
||||
block.setType(Material.COBWEB);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue