mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
*
This commit is contained in:
parent
1d20ae2777
commit
2360782234
1 changed files with 2 additions and 2 deletions
|
@ -88,14 +88,14 @@ public class Set extends SubCommand {
|
|||
}
|
||||
}
|
||||
return false;
|
||||
} else if (!allowUnsafe && (block.id == 0 || !WorldUtil.IMP.isBlockSolid(block))) {
|
||||
} else if (!allowUnsafe && (block.id != 0 && !WorldUtil.IMP.isBlockSolid(block))) {
|
||||
MainUtil.sendMessage(player, C.NOT_ALLOWED_BLOCK, block.toString());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!allowUnsafe) {
|
||||
for (PlotBlock block : blocks) {
|
||||
if (block.id == 0 || !WorldUtil.IMP.isBlockSolid(block)) {
|
||||
if (block.id != 0 && !WorldUtil.IMP.isBlockSolid(block)) {
|
||||
MainUtil.sendMessage(player, C.NOT_ALLOWED_BLOCK, block.toString());
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue