Closed Phoenix616 closed 8 years ago
Wow.. that's probably been broken for a very long time - I'm surprised you're the first one to report or fix it. Thanks for the PR!
My day has been pretty insane but I'll try to get to cutting a new release with that fix in a few hours. (I may have to push it back, but I'm assuming you're already running with a custom build, so tell me if you aren't/can't and I'll do it as soon as I can!)
I'm running my own one, no hurries! :)
After enabling permissions support I noticed that portal owners can no longer destroy their own portals even when they have the travelportals.portal.destroy permission. Turns out the owner's name was being compared to the whole player object and not just the player's name.