mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Add EOF newlines where missing (bulk) (#1836)
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
This commit is contained in:
@ -36,4 +36,4 @@ interface CommandExecutor{
|
||||
*/
|
||||
public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -62,4 +62,4 @@ interface CommandMap{
|
||||
public function getCommand(string $name);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -57,4 +57,4 @@ interface CommandSender extends Permissible{
|
||||
* @param int|null $height
|
||||
*/
|
||||
public function setScreenLineHeight(int $height = null);
|
||||
}
|
||||
}
|
||||
|
@ -153,4 +153,4 @@ class ConsoleCommandSender implements CommandSender{
|
||||
$this->lineHeight = $height;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -156,4 +156,4 @@ class FormattedCommandAlias extends Command{
|
||||
return $i >= $j and $i <= $k;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -49,4 +49,4 @@ class RemoteConsoleCommandSender extends ConsoleCommandSender{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -62,4 +62,4 @@ class BanCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -82,4 +82,4 @@ class BanIpCommand extends VanillaCommand{
|
||||
|
||||
$sender->getServer()->getNetwork()->blockAddress($ip, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -73,4 +73,4 @@ class BanListCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,4 +59,4 @@ class DefaultGamemodeCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -61,4 +61,4 @@ class DeopCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -70,4 +70,4 @@ class DifficultyCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -124,4 +124,4 @@ class EffectCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -83,4 +83,4 @@ class EnchantCommand extends VanillaCommand{
|
||||
self::broadcastCommandMessage($sender, new TranslationContainer("%commands.enchant.success", [$player->getName()]));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -85,4 +85,4 @@ class GamemodeCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -101,4 +101,4 @@ class GiveCommand extends VanillaCommand{
|
||||
]));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -101,4 +101,4 @@ class KillCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -54,4 +54,4 @@ class ListCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,4 +53,4 @@ class MeCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -60,4 +60,4 @@ class OpCommand extends VanillaCommand{
|
||||
$player->setOp(true);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -58,4 +58,4 @@ class PardonIpCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -222,4 +222,4 @@ class ParticleCommand extends VanillaCommand{
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -57,4 +57,4 @@ class SaveCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -49,4 +49,4 @@ class SaveOffCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -49,4 +49,4 @@ class SaveOnCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,4 +53,4 @@ class SayCommand extends VanillaCommand{
|
||||
$sender->getServer()->broadcastMessage(new TranslationContainer(TextFormat::LIGHT_PURPLE . "%chat.type.announcement", [$sender instanceof Player ? $sender->getDisplayName() : ($sender instanceof ConsoleCommandSender ? "Server" : $sender->getName()), TextFormat::LIGHT_PURPLE . implode(" ", $args)]));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,4 +52,4 @@ class SeedCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -49,4 +49,4 @@ class StopCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -134,4 +134,4 @@ class TimeCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,4 +53,4 @@ class TransferServerCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,4 +88,4 @@ abstract class VanillaCommand extends Command{
|
||||
|
||||
return $i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -102,4 +102,4 @@ class VersionCommand extends VanillaCommand{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,4 +117,4 @@ class WhitelistCommand extends VanillaCommand{
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,4 +25,4 @@ namespace pocketmine\command\utils;
|
||||
|
||||
class CommandException extends \RuntimeException{
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -25,4 +25,4 @@ namespace pocketmine\command\utils;
|
||||
|
||||
class InvalidCommandSyntaxException extends CommandException{
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user