Potential high number of packets
Cloudhunter opened this issue ยท 0 comments
Per extraction of items from a Personal EMC Link, a packet is sent to the client updating the new EMC value. If many items are removed per tick (say... 72 in my setup), this can add up and make the game unplayable for the client.
Code responsible: https://github.com/LatvianModder/Project-EX/blob/15a71c1c04189eda7cd8b841d11a8327cd291cc3/src/main/java/com/latmod/mods/projectex/tile/TileLink.java#L258
I suggest that a sync field is added and handled on the next tile tick, to make sure only one packet per tick is sent.