mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-23 05:54:36 +00:00
Fixed translation for banlist command usage
This commit is contained in:
parent
c4fb469b4e
commit
813acc54dc
21
TODO.md
21
TODO.md
@ -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
|
|
@ -64,9 +64,9 @@ class BanListCommand extends VanillaCommand{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($args[0] === "ips"){
|
if($args[0] === "ips"){
|
||||||
$sender->sendMessage("commands.banlist.ips", [count($list)]);
|
$sender->sendMessage(new TranslationContainer("commands.banlist.ips", [count($list)]));
|
||||||
}else{
|
}else{
|
||||||
$sender->sendMessage("commands.banlist.players", [count($list)]);
|
$sender->sendMessage(new TranslationContainer("commands.banlist.players", [count($list)]));
|
||||||
}
|
}
|
||||||
|
|
||||||
$sender->sendMessage(substr($message, 0, -2));
|
$sender->sendMessage(substr($message, 0, -2));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user