Limit NBT value sizes
rubensworks opened this issue ยท 3 comments
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).
Related: #211
@DasBrain Thanks, I was trying to get a log of that for a while now :-)
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