EngineHub / WorldGuard

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

Fix checking bypass on initialize #2082

Closed aromaa closed 4 months ago

aromaa commented 4 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 4 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 4 months ago

Sounds fair, did just that.