AbstractDelegateExtent requires FaweMaskManager to work #1330
Labels
Approved
Added if an issue has been approved by a maintainer
Requires Testing
This is a new issue which needs to be approved before labeled with "bug"
Server Implementation
Paper
Server Version
1.17.1
Describe the bug
As the title says, this issue prevents use of custom extent if the plugin doesn't provide a custom
FaweMaskManager
. the issue is thatExtent.setBlock
will always return false and it won't send the changes, which makes almost all worldedit commands not working (//set
,//replace
... etc.. not sure if there are others).so, it won't work if:
FaweMaskManager
provided by my plugin itselfFaweMaskManager.getMask(LocalPlayer, Location)
:FaweMask
with randomly selected pointsgetMask(LocalPlayer, Location)
(see below)To understand this issue I will use this picture:
First case: no FaweMaskManager. it will break no matter what.
Second case: Using the custom
AbstractDelegateExtent
, a customFaweMask
with the minimum and the maximum point is selected randomly. if as an example if I use (//set
,//replace
etc...) commands and I want my customAbstractDelegateExtent
to set all blocks to sponge blocks regarding the user's input specifically insetBlock(BlockVector3, block)
inside the redstone area it won't work. However if I change the minimum and maximum position pointing to the redstone area in the picture, it will work only inside the redstone area.Third case: FaweMaskManager, with the
getMask(LocalPlayer, Location)
using theglobal
region as minimum and maximum points. it will work everywhere and as expected.To Reproduce
/plugins/WorldGuard/worlds/world/regions.yml
.allowed-plugin
like this inside/plugins/FastAsyncWorldEdit/config.yml
.not op
and you have access to worldedit commands and don't forget to add permissionfawe.fawe-bug-report
&fawe.worldguard
//set 1
inside the region I provided and it should ignore your input and set it to sponge block./makeitglobal
and restart the server. (This will set the minimum and maximum points using global region)/breakitall
and restart the server. (This will prevent the mask from being added)/makeitdefault
Expected behaviour
The expected behaviour is that
AbstractDelegateExtent
should work without relying on the fact that if the plugin provides aFaweMaskManager
.Screenshots / Videos
No response
Error log (if applicable)
No response
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/15824e698b8f4d5a9071d36a7b7d12cc
Fawe Version
1.17-336;0ed9872
Checklist
Anything else?
This only applies to players who is not op but have the permission to use WorldEdit. But the question here is this how it is intended to work?
The text was updated successfully, but these errors were encountered: