mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Remove random dead TODOs
This commit is contained in:
@ -99,7 +99,6 @@ class RuntimeBlockStateRegistry{
|
||||
try{
|
||||
$v->decodeTypeAndStateData($stateData);
|
||||
if($v->computeTypeAndStateData() !== $stateData){
|
||||
//TODO: this should probably be a hard error
|
||||
throw new \LogicException(get_class($block) . "::decodeStateData() accepts invalid state data (returned " . $v->computeTypeAndStateData() . " for input $stateData)");
|
||||
}
|
||||
}catch(InvalidSerializedRuntimeDataException){ //invalid property combination, leave it
|
||||
|
Reference in New Issue
Block a user