mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 20:07:09 +00:00
Strip trailing whitespace
This commit is contained in:
parent
3b3fb5e662
commit
e42a691da9
@ -71,7 +71,7 @@ function main(array $argv) : void{
|
|||||||
|
|
||||||
$versionInfoPath = dirname(__DIR__) . '/src/pocketmine/VersionInfo.php';
|
$versionInfoPath = dirname(__DIR__) . '/src/pocketmine/VersionInfo.php';
|
||||||
replaceVersion($versionInfoPath, $currentVer->getBaseVersion(), false);
|
replaceVersion($versionInfoPath, $currentVer->getBaseVersion(), false);
|
||||||
|
|
||||||
echo "please add appropriate notes to the changelog and press enter...";
|
echo "please add appropriate notes to the changelog and press enter...";
|
||||||
fgets(STDIN);
|
fgets(STDIN);
|
||||||
system('git add "' . dirname(__DIR__) . '/changelogs"');
|
system('git add "' . dirname(__DIR__) . '/changelogs"');
|
||||||
|
@ -2936,7 +2936,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
$this->inventory->sendHeldItem($this);
|
$this->inventory->sendHeldItem($this);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$tile = $this->level->getTile($pos);
|
$tile = $this->level->getTile($pos);
|
||||||
if($tile instanceof ItemFrame and $tile->hasItem()){
|
if($tile instanceof ItemFrame and $tile->hasItem()){
|
||||||
if (lcg_value() <= $tile->getItemDropChance()){
|
if (lcg_value() <= $tile->getItemDropChance()){
|
||||||
|
@ -244,7 +244,7 @@ abstract class UPnP{
|
|||||||
'<?xml version="1.0"?>' .
|
'<?xml version="1.0"?>' .
|
||||||
'<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">' .
|
'<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">' .
|
||||||
'<s:Body>' . $body . '</s:Body></s:Envelope>';
|
'<s:Body>' . $body . '</s:Body></s:Envelope>';
|
||||||
|
|
||||||
$headers = [
|
$headers = [
|
||||||
'Content-Type: text/xml',
|
'Content-Type: text/xml',
|
||||||
'SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMapping"'
|
'SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMapping"'
|
||||||
|
@ -221,7 +221,7 @@ LICENSE;
|
|||||||
|
|
||||||
$config->save();
|
$config->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
private function printIpDetails() : void{
|
private function printIpDetails() : void{
|
||||||
$this->message($this->lang->get("ip_get"));
|
$this->message($this->lang->get("ip_get"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user