WorldGuard

WorldGuard

8M Downloads

LocationFlag causes an NPE when the world is unloaded

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDGUARD-3178 - Reported by i9hdkill

World Guard 6 Beta 2
#Spigot 1643

WG tries to migrate our yml region files to the uuid version.

But when he reaches custom flags in the region file (At least I think thats the case), he stops converting.

WG 6 gets disabled with that error.

Error:

http://pastebin.com/3UMavmgz

I had wgcustomflags, wgregionevents and wgregioncommands installed.

Even when i disabled them, migrating is not working like it should.

commented

Comment by sk89q

This looks like an issue with WG's "location flag." It stores a reference to the world, but requires that the world be loaded, otherwise it crashes. Since the UUID conversion converts all worlds, you encounter this problem.

It is pretty dumb. Looks like more of other people's code for me to rewrite.