We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In src/Model/GameSettings.php :
src/Model/GameSettings.php
/** * Returns game speed string. * * @return string */ public function gameSpeedName() { return $this->rec->trans('game_speeds', $this->gameSpeed); }
$this->gameSpeed could be one of 100, 150, 200, but corresponding array in translation file is:
$this->gameSpeed
100, 150, 200
'game_speeds' => array ( 0 => 'Slow', 1 => 'Normal', 2 => 'Fast', ),
I resolved the problem by changing 0, 1, 2 to 100, 150, 200 .
0, 1, 2
/** * Returns map style string. * * @return string */ public function mapStyleName() { $mapStyle = $this->rec->getResourcePack() ->getMapStyle($this->mapId); return $this->rec->trans('map_styles', $mapStyle); }
Funtion getMapStyle() in this snippet of code seems doesn't exist at all?
getMapStyle()
Thanks.
The text was updated successfully, but these errors were encountered:
0.0 More bugs were found, a lot of them.
I won't issue any more, now learning to use pull request, maybe a better approach to support this project.
Sorry, something went wrong.
No branches or pull requests
In
src/Model/GameSettings.php
:1. line 162-170
$this->gameSpeed
could be one of100, 150, 200
, but corresponding array in translation file is:I resolved the problem by changing
0, 1, 2
to100, 150, 200
.2. line 140-150
Funtion
getMapStyle()
in this snippet of code seems doesn't exist at all?Thanks.
The text was updated successfully, but these errors were encountered: