EpsilonNetWorkGroup / scccpdebris

Optional public part
GNU General Public License v3.0
4 stars 2 forks source link

[FEATURE] support folia #2

Closed xiaoyueyoqwq closed 4 months ago

xiaoyueyoqwq commented 4 months ago

Nice plugin, so plz support folia to make it even cooler ;>

D3it7i commented 4 months ago

It looks like ProtocolLib support for folia is ready and I can make a test version.

D3it7i commented 4 months ago

https://github.com/EpsilonNetWorkGroup/scccpdebris/releases/tag/1.20.4-v2

xiaoyueyoqwq commented 4 months ago

https://github.com/EpsilonNetWorkGroup/scccpdebris/releases/tag/1.20.4-v2

Hi there, I just recived a ERROR logs on my server, can you help and check it? https://paste.ubuntu.com/p/5t9dghnHW3/

D3it7i commented 4 months ago

Spigot does not allow calling getEntities on an asynchronous thread. But in fact, folia has no concept of a main thread. I moved the getEntity to the GlobalRegionScheduler run on folia, try this version: https://github.com/EpsilonNetWorkGroup/scccpdebris/actions/runs/9380169266

xiaoyueyoqwq commented 4 months ago

Spigot does not allow calling getEntities on an asynchronous thread. But in fact, folia has no concept of a main thread. I moved the getEntity to the GlobalRegionScheduler run on folia, try this version: https://github.com/EpsilonNetWorkGroup/scccpdebris/actions/runs/9380169266

Okay, I will keep testing