mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-03 18:42:37 +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';
|
||||
replaceVersion($versionInfoPath, $currentVer->getBaseVersion(), false);
|
||||
|
||||
|
||||
echo "please add appropriate notes to the changelog and press enter...";
|
||||
fgets(STDIN);
|
||||
system('git add "' . dirname(__DIR__) . '/changelogs"');
|
||||
|
@ -2936,7 +2936,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
$this->inventory->sendHeldItem($this);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
$tile = $this->level->getTile($pos);
|
||||
if($tile instanceof ItemFrame and $tile->hasItem()){
|
||||
if (lcg_value() <= $tile->getItemDropChance()){
|
||||
|
@ -244,7 +244,7 @@ abstract class UPnP{
|
||||
'<?xml version="1.0"?>' .
|
||||
'<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>';
|
||||
|
||||
|
||||
$headers = [
|
||||
'Content-Type: text/xml',
|
||||
'SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMapping"'
|
||||
|
@ -221,7 +221,7 @@ LICENSE;
|
||||
|
||||
$config->save();
|
||||
}
|
||||
|
||||
|
||||
private function printIpDetails() : void{
|
||||
$this->message($this->lang->get("ip_get"));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user