Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Commit

Permalink
Fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroliu committed Sep 24, 2015
1 parent c30b327 commit 7af5fcb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ManyWorlds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ for sample files.
can define which worlds to load on start-up. Examples:

[CODE]

# pocketmine.yml
worlds:
world1: []
Expand All @@ -181,6 +182,8 @@ for sample files.

# Changes

* 2.0.3: Bugfix update
* Fixes bug reported by @thebigsmileXD
* 2.0.2: Bug fix
* Updated libcommon to 1.2.0dev1
* This fixes a bug reported by @SoyPro. (#23)
Expand Down Expand Up @@ -256,3 +259,4 @@ Copyright

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

8 changes: 4 additions & 4 deletions ManyWorlds/resources/messages/messages.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
; messages.ini
"%1%-mode"=""
"%1% is already in %2%"=""
"%1% not found"=""
"- /mw unload --enable"=""
"<world>"=""
"<world> [attr=value]"=""
Expand Down Expand Up @@ -39,6 +40,7 @@
"Name unchanged"=""
"No change"=""
"No help for %1%"=""
"No sub-commands available"=""
"No sub-command specified"=""
"Nothing happens"=""
"Path: "=""
Expand Down Expand Up @@ -104,7 +106,5 @@
"loaded"=""
"players:%1%"=""
"to fix this issue"=""
"#<world> [player]"=""
"#Enable %1% features"=""
"#List world ifnormation"=""
"#Restart server for changes to take effect!"=""
"mc.lang"="C"
"mc.version"="2.0"
4 changes: 4 additions & 0 deletions ManyWorlds/resources/messages/spa.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
; spa.ini
"%1%-mode"="modo-%1%"
"%1% is already in %2%"="%1% ya está en %2%"
"%1% not found"=""
"- /mw unload --enable"="- /mw unload --enable"
"<world>"="<mundo>"
"<world> [attr=value]"="<mundo> [attr=valor]"
Expand Down Expand Up @@ -39,6 +40,7 @@
"Name unchanged"="Nombre no ha cambiado"
"No change"="No hay cambios"
"No help for %1%"="No hay ayuda para %1%"
"No sub-commands available"="No sub-comandos disponibles"
"No sub-command specified"="No sub-comando especificado"
"Nothing happens"="No pasa nada"
"Path: "="Ruta: "
Expand Down Expand Up @@ -104,5 +106,7 @@
"loaded"="cargado"
"players:%1%"="jugadores:%1%"
"to fix this issue"="para corrregir este problema"
"mc.lang"="spa"
"mc.version"="2.0"
"#Enable %1% features"="Activando %1% módulos"
"#Restart server for changes to take effect!"="Re-inicia el servidor para que los cambios se apliquen"
2 changes: 1 addition & 1 deletion ManyWorlds/src/aliuly/manyworlds/MwLvDat.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function onSCommand(CommandSender $c,Command $cc,$scmd,$data,array $args)
}
$world = array_shift($args);
if(!$this->owner->autoLoad($c,$world)) {
$c->sendMessage(TextFormat::RED.mc::_("[MW] %1% is not loaded!",$worl));
$c->sendMessage(TextFormat::RED.mc::_("[MW] %1% is not loaded!",$world));
return true;
}
$level = $this->owner->getServer()->getLevelByName($world);
Expand Down

0 comments on commit 7af5fcb

Please sign in to comment.