PorkStudios / Pork2b2tBot

A minecraft bot thing, also works as a proxy!
https://www.daporkchop.net/pork2b2tbot
Other
46 stars 16 forks source link

Feature/warning setting #43

Open IronException opened 3 years ago

IronException commented 3 years ago

oh damn, I forgot a description: a friend wanted to use the proxy for his server but had a plugin that sent him a position rotation packet for an invalid entity all the time. So we added a setting to dismiss warnings. He also tried to use the proxy on a 1.16.4 server (that uses protocol support so the proxy should be able to connect). However, we noticed that the ServerEntityMetadataPacket got sent for players unlike in old versions. This crashed the proxy because you can't add elements to java.Util.Arrays$ArrayList because it extends from AbstractList that throws an UnsupportedOperationException when you try to add. We didn't know how to fix this properly so we just send a warning when this happens. This leads to the proxy not saving when other players are sneaking eg.