LanternPowered / Lantern

An open-source Minecraft server that implements the SpongeAPI.
MIT License
108 stars 12 forks source link

Update for the cause changes, cause tracking is now a thing! #40

Closed Cybermaxke closed 7 years ago

Cybermaxke commented 7 years ago

I updated for the cause changes in the SpongeAPI. The main, server and world threads will all get a unique CauseStack. The BehaviorContext is also modified to use the CauseStack, this replaces the current Parameters. Every CauseStackManager method forwards to to the CauseStack on the current thread.

These changes require proper testing.

Cybermaxke commented 7 years ago

Merged in 2361c5e3d38dfc8db301e5676e77b359ca014e47