3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-16 21:10:25 +01:00
ViaVersion/api
Nassim Jahnke deab6a0cac
Don't allocate bufs in 1.18/1.20 chunk types
Unlike Mojang, we don't sneak a byte array of data outside of the actual packet reading, so there's no reason to not just use the original buffer.
Slicing doesn't allocate anything while also setting the reader index correctly, as also used in the previous types
2024-11-05 13:43:54 +01:00
..
src/main Don't allocate bufs in 1.18/1.20 chunk types 2024-11-05 13:43:54 +01:00
build.gradle.kts Exclude error prone annotations 2024-10-24 12:50:36 +02:00