ClassiCube / MCGalaxy

A Minecraft Classic / ClassiCube server software
GNU General Public License v3.0
162 stars 76 forks source link

Map display failures (and crashes) with 0.30 Java client #741

Open rdebath opened 1 year ago

rdebath commented 1 year ago

If a map of 1x2x1 is sent to the client it crashes. If a map with dimensions that are not a multiple of 16 is sent the client leaves the "top" addresses as air. If a map of 16x16x16 is sent the client has very high CPU usage. A map of 32x16x32 works fine as do higher multiples of 16x16x16 cubes.

Padding maps sent to a classic only client (that didn't ask for CPE) to avoid this seems like a good idea.