Integrated Dynamics

Integrated Dynamics

63M Downloads

Limit NBT value sizes

rubensworks opened this issue ยท 3 comments

commented

Large NBT tags can cause network issues when sent from server to client. So make sure we limit the size somehow. Throw an EvaluationException for these.

EDIT: This mainly occurs with NBT value types.

EDIT2: This probably also occurs with other value types that can have large values, such as item lists originating from Colossal Chests (TODO: test with this).

commented

Related: #211

commented

@DasBrain Thanks, I was trying to get a log of that for a while now :-)

commented

Just got always kicked from my server when I logged in because I was displaying the Entity NBT of myself:
https://pastebin.com/tXN7HLA7

Solved that problem by teleporting myself away from the console (logging in and spamming /tp 0 63 0).

Pastebin