Fixed translation for banlist command usage

This commit is contained in:
Intyre 2015-10-10 23:06:28 +02:00
parent c4fb469b4e
commit 813acc54dc
No known key found for this signature in database
GPG Key ID: B06D41D26935005A
2 changed files with 2 additions and 23 deletions

21
TODO.md
View File

@ -1,21 +0,0 @@
# TODO
This branch will get used to to fix all issues with items and blocks.
Working from branch mcpe-0.12 tested with MCPE 0.12.1
## src/pocketmine/item/Item.php
- [x] add missing items
- [x] sort all items in ``public static function init(){}``
- sort using ID
- [x] create list of missing items
- [ ] create seperate functions for views (maybe?)
- [ ] sort everything in ``private static function initCreativeItems(){}``
- the way it looks ingame using **MCPE 0.12.1**
## src/pocketmine/block/Block.php
- [ ] add missing blocks
- [ ] sort all blocks in init()
- sort using ID
- [ ] create a list of missing blocks

View File

@ -64,9 +64,9 @@ class BanListCommand extends VanillaCommand{
}
if($args[0] === "ips"){
$sender->sendMessage("commands.banlist.ips", [count($list)]);
$sender->sendMessage(new TranslationContainer("commands.banlist.ips", [count($list)]));
}else{
$sender->sendMessage("commands.banlist.players", [count($list)]);
$sender->sendMessage(new TranslationContainer("commands.banlist.players", [count($list)]));
}
$sender->sendMessage(substr($message, 0, -2));