Return false on unhandled/unknown resource pack client response status

This commit is contained in:
Dylan K. Taylor 2017-03-13 15:52:00 +00:00
parent c344caaf78
commit 3c709b1d3e

View File

@ -2006,6 +2006,8 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
case ResourcePackClientResponsePacket::STATUS_COMPLETED: case ResourcePackClientResponsePacket::STATUS_COMPLETED:
$this->processLogin(); $this->processLogin();
break; break;
default:
return false;
} }
return true; return true;