Bewitchment

Bewitchment

7M Downloads

WitchAltarBlockEntity.scan() makes the server lag a lot.

khiivl opened this issue ยท 8 comments

commented

Version: 1.17-14
Spark profiler results link: https://spark.lucko.me/JXEA4tmBnJ
Basically, when i put down a carpet on a Witch Altar it makes the tps go up 9000%

commented

I have this problem on my server too. It's fine at first, but then the server is overwhelmed gradually until everything lags out.

commented

Are you sure you sent the right profile? I don't see Bewitchment in there at all.

commented

Are you sure you sent the right profile? I don't see Bewitchment in there at all.

my bad, wrong link. https://spark.lucko.me/ltNBOyiADM
there is a lot happening under WitchAltarBlockEntity.scan(), and my tickrate goes to literally 1500% over average if i place a carpet on an altar.

commented

I can't reproduce this oddly enough, can you send an export of your modpack so I can do testing there?

commented

I can't reproduce this oddly enough, can you send an export of your modpack so I can do testing there?

i did some further testing, and it appears that the issue only shows up on my server and on my world. this is very strange.
i uploaded the client and server packs to google drive.
client (to be imported into curseforge app): https://drive.google.com/file/d/1nGjON4zhGRpL1k1snpiuuuaU0FZ50kDN/view?usp=sharing
server: https://drive.google.com/file/d/1ZGRpzdio5iNJ6TSmzx-gg1O5t-1TEdN1/view?usp=sharing
you can also join my server in the servers list that should be on the client (servers.dat) if you want, you're op there

commented

i just updated the server pack (sorry if you already downloaded it..), had to remove already placed altars for convenience of testing.

commented

All good, I was able to log in just fine lol

commented

image
this happens again, did you see this on my server? happens only in this place, near my house. tested it on spawn - no luck