Open Panic-exe opened 7 months ago
with the fixed formatting, from what I see it's just inability to convert an event-value to a region. since from what I get he says region at ...
is working as intended which makes sense we're passing a location. region
is failing which seems more like an event-value converter returning null. it doesn't seem to be erroring so I ruled out the possibility of using region type
This isn't a converter issue, per se.
There is no event-region in the consume event, so it just parses as the region
class info.
Essentially testing if "test" is a region.
You should be using if player is in region "test"
.
I don't think this is a bug, but I'd like some more opinions before closing.
I don't think this is a bug, but I'd like some more opinions before closing.
Arguably this behaviour is unintuitive, so maybe it's something we should look into?
I don't think this is a bug, but I'd like some more opinions before closing.
Agree. We can however make ExprRegionsAt have an optional location so it always defaults to the event's location however not sure if this may cause conflicts with event-region. Anyways, the correct usage is region at player
.
I don't think this is a bug, but I'd like some more opinions before closing.
Arguably this behaviour is unintuitive, so maybe it's something we should look into?
maybe. another thing to know is that the region support is eventually planned to be split out into skript-worldguard.
Skript/Server Version
Bug Description
When u write the code like the code below, the event "consume" works with region...
But, if u write the code below, the code dont work.
(I tried with)
And the
Works normally, soo in conclusion, it is a bug.
Expected Behavior
Like in the description above
Steps to Reproduce
Like in the description above
Errors or Screenshots
No response
Other
No response
Agreement