WorldGuard

WorldGuard

8M Downloads

Issue with deny-spawn flag, cannot match entities

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDGUARD-3950 - Reported by corwin

Worldguard version 7.0.0-SNAPSHOT;1721

There is problem with flags, setting deny-spawn always fails with message "Unknown entity type: /spider" or whatever entity is used

EntityTypeFlag class for some reasons contains this piece of code, which causes it to never match any entity (since none of them starts with /)

if (!input.startsWith("/")) {
input = "/" + input;
}

commented

Comment by me4502

Fixed, thanks.