This fixes a bug happens when a refresh command is sent after a players VisionArea is already fully initialized.
When this happens the player will not be able to use gm teleport wands, and minedoors will stop opening for them. This also produces messages like that in the log:
Auriel could not teleport due to VisionArea VisionArea [initialised: false, resumed: false, sentCloseStrips: false, sentFarStrips: false]
(note all flags being false, it will stay like that until the player relogs)
I've also moved the method to a separate class as with my addition it was causing a bunch of classes to be frozen when the mod class was loaded.
This fixes a bug happens when a refresh command is sent after a players VisionArea is already fully initialized.
When this happens the player will not be able to use gm teleport wands, and minedoors will stop opening for them. This also produces messages like that in the log:
(note all flags being false, it will stay like that until the player relogs)
I've also moved the method to a separate class as with my addition it was causing a bunch of classes to be frozen when the mod class was loaded.