Earthcomputer / PolyDungeons

ModFest 1.16 entry
MIT License
2 stars 2 forks source link

Charm refactor #11

Closed Earthcomputer closed 4 years ago

Earthcomputer commented 4 years ago

This PR fixes a number of bugs relating to charms, including not being able to teleport after server restart, and a (much more minor this time) memory leak. The main change is how the list of entities is stored - it's now stored in the ServerWorld for each dimension.

The new process for implementing a charm is as follows: