Polygonal selections allow unlimited claim volumes with /rg claim
LadyCailinBot opened this issue · 6 comments
WORLDGUARD-3130 - Reported by fhntv24
- Select region with normal cuboid selection
- Change selection to poly 2d
- //expand vert , and any other expand that you want
- Make region bigger that maximum value
- in chat /rg claim ... And you have you region
other sub bug: polygon 2d ignores all other regions , so you can claim all the world!
Comment by Станислав.Усенков
Confirms! Really critical! Players are meking infinite regions!
Comment by sk89q
This is because the code to get the number of blocks in a polygon was not very accurate and someone had the real bright idea of returning 0 instead of even an approximate number.
For the time being, I recommend disabling polygon regions, but I will see if I can fix the algorithm for polygons.
Comment by Станислав.Усенков
Sorry, I use poly regions widely on my server =) I can't just disable them.
A lot of main city's plots are made as poly regions: http://primary.voxile.ru
Please look at the code asap ^_^
Comment by fhntv24
@sk89q how do you disable them?
Comment by fhntv24
Disabled them wia InClassTranslator. That did help , but really - fix at least what poly ignores other regions.