mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Pull changes from upstream to match cdd7117
This commit is contained in:
parent
511c279153
commit
0763e4c05c
@ -63,7 +63,7 @@ public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTo
|
|||||||
if (applied.getBlockType().getMaterial().isAir()) {
|
if (applied.getBlockType().getMaterial().isAir()) {
|
||||||
eS.setBlock(blockPoint, secondary);
|
eS.setBlock(blockPoint, secondary);
|
||||||
} else {
|
} else {
|
||||||
eS.setBlock(pos.getDirection().toBlockPoint(), secondary);
|
eS.setBlock(pos.toVector().subtract(pos.getDirection()).toBlockPoint(), secondary);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} catch (MaxChangedBlocksException e) {
|
} catch (MaxChangedBlocksException e) {
|
||||||
@ -85,7 +85,7 @@ public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTo
|
|||||||
if (applied.getBlockType().getMaterial().isAir()) {
|
if (applied.getBlockType().getMaterial().isAir()) {
|
||||||
eS.setBlock(blockPoint, primary);
|
eS.setBlock(blockPoint, primary);
|
||||||
} else {
|
} else {
|
||||||
eS.setBlock(pos.getDirection().toBlockPoint(), primary);
|
eS.setBlock(pos.toVector().subtract(pos.getDirection()).toBlockPoint(), primary);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} catch (MaxChangedBlocksException e) {
|
} catch (MaxChangedBlocksException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user