Terpo / Waterworks

Waterworks Mod for Minecraft
MIT License
5 stars 0 forks source link

Always check for loaded chunks on packet handling! #81

Open Terpo opened 4 years ago

Terpo commented 4 years ago

ModdingTipOfTheDay This has to do with the exploits I fixed yesterday. When handling a packet on the server (a packet sent from the client) always first check if the block is loaded (world.isBlockLoaded()) BEFORE doing getTileEntity or getBlockState for a position in the packet

https://twitter.com/McJty/status/1298173404735037442