[ci skip] Server: remove misleading comment

This commit is contained in:
Dylan K. Taylor 2020-11-27 17:57:52 +00:00
parent 0a7d81a2b0
commit 5142281cfa

View File

@ -537,7 +537,7 @@ class Server{
try{ try{
return (new BigEndianNbtSerializer())->read($decompressed)->mustGetCompoundTag(); return (new BigEndianNbtSerializer())->read($decompressed)->mustGetCompoundTag();
}catch(NbtDataException $e){ //zlib decode error / corrupt data }catch(NbtDataException $e){ //corrupt data
$this->logger->debug("Failed to decode NBT data for \"$name\": " . $e->getMessage()); $this->logger->debug("Failed to decode NBT data for \"$name\": " . $e->getMessage());
$this->handleCorruptedPlayerData($name); $this->handleCorruptedPlayerData($name);
return null; return null;