ChessMod

ChessMod

104k Downloads

Only send client a tileentity update when state has changed

ramou opened this issue ยท 0 comments

commented

This should drastically reduce packet traffic.

I suggest keeping an oldstate value in the entity. Check for oldstate on the server-side during the tileentity's tick. If it doesn't match, send the update to the client. That field can be marked as server only, I suspect.