EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
836 stars 545 forks source link

Fix checking bypass on initialize #2082

Closed aromaa closed 6 months ago

aromaa commented 6 months ago

Fixed that checking bypass on handlers initialize would always return false. Not really sure if this is the best approach.

Also removed the SessionManager#createSession because it was making this a bit more complicated and its not really used.

wizjany commented 6 months ago

Removing createSession is technically an API-break even though that shouldn't realistically be getting called from outside WG. Can we maybe just deprecate it for removal and have it return get() to maintain some semblance of just-in-case compatibility?

aromaa commented 6 months ago

Sounds fair, did just that.