mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Unnecessary ":?" (2)
This commit is contained in:
parent
0f26e45638
commit
69385e16f2
21 changed files with 36 additions and 48 deletions
|
|
@ -26,7 +26,7 @@ abstract class Structure{
|
|||
$this->mapSymToID[$sym] = $id;
|
||||
}
|
||||
public function getMappingFor($sym){
|
||||
return isset($this->mapSymToID[$sym]) ? $this->mapSymToID[$sym] : Structure::MAP_NO_KEY;
|
||||
return $this->mapSymToID[$sym] ?? Structure::MAP_NO_KEY;
|
||||
}
|
||||
|
||||
protected function placeBlock($level, $sym, $tv){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue