ExprBlocksInRegion is including blocks outside of the region. #2617
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Description
When trying to set all of the blocks in a region, blocks outside of the region are also updated.
Based on the bounds below, I think it is related to the 1 being added here:
Skript/src/main/java/ch/njol/skript/hooks/regions/WorldGuardHook.java
Line 162 in 7ddb4cf
Steps to Reproduce
Region Bounds: 30, 64, -2 TO 30, 67, -1
Updated Blocks Bounds: 30, 64, -2, TO 31, 68, 0
Expected Behavior
Only the blocks in the region should be set.
Server Information
Additional Context
I will probably open a pull request fixing this issue soon.
The text was updated successfully, but these errors were encountered: