Why does this NPC in my online game repeatedly spawn after closing?

Brendon Mallard

New member
I'm developing an MMORPG, currently coding the server which is mostly written in Java. I'm having trouble with one of the non playing characters in the game.
Everything works properly as far as it's purpose, but the second a player closes out of the NPC, it opens again. And won't stop until they exit out of the whole game.

Here's what I've got-

http://pastebin.com/KRA9k11S
 
Back
Top