WorldGuard

WorldGuard

8M Downloads

[API] Polygonal Volume Size

LadyCailinBot opened this issue ยท 2 comments

commented

WORLDGUARD-3946 - Reported by Tiippex

Hello,

my problem is that the WorldGuard API returns 0 as the volume for poly regions. I need that for my plot system.

ProtectedPolygonalRegion:

public int volume() {
    return 0;
}

Kind regards
Tiippex

commented

Please add a warning/exception, something in the javadocs or a deprecated tag for this.

commented

Comment by me4502

If you could make a pull request for this it'd be appreciated.