SpoutDev/Spout — comment on commit 7e15f5c5f032a750dc32ba6bc517a1b80ede044f
File: src/main/java/org/getspout/server/util/ChannelBufferUtils.java line 241
By zml2008:

Not entirely. I updated it to match what the Spoutcraft client checks for when receiving a packet with world height.