Release 1.0.0

Release 1.0.0
This commit is contained in:
2015-01-05 15:18:01 +02:00
parent 85bb810540
commit 227d8be263
4 changed files with 7 additions and 8 deletions
-1
View File
@@ -49,7 +49,6 @@ bin/*
timings/*
*.log
*.txt
*.phar
server.properties
pocketmine.yml
+1 -1
View File
@@ -22,7 +22,7 @@ ONLY OPs during gameplay (creative preferred)
* `/qrt <url>` - test QR text/url to count number of needed blocks (NxN)
* `/qrc <url> [Auto|horizontal|vertical]` - create QR panel/block
* `/qrl` - list QR panels IDs
* `/qrd <ID>` - delete a QR panel by ID
* `/qrd <ID>` - delete QR panel by ID (fills panel space with air)
* `/qrp <ID>` - teleport you nearby QR panel with specified ID (IN WORK)
Binary file not shown.
+6 -6
View File
@@ -30,12 +30,12 @@ class QRcraftPlugInListener implements Listener
$player = $event->getPlayer();
$blockTouched = $event->getBlock();
if (\pocketmine\DEBUG > 1) {
$direction = $player->getDirectionVector();
$msg = "Player direction is X:" . round($direction->x, 2) . " Y:" . round($direction->y, 2) . " Z:" . round($direction->z, 2);
$this->pgin->log($msg);
$player->sendMessage($msg);
}
// if (\pocketmine\DEBUG > 1) {
// $direction = $player->getDirectionVector();
// $msg = "Player direction is X:" . round($direction->x, 2) . " Y:" . round($direction->y, 2) . " Z:" . round($direction->z, 2);
// $this->pgin->log($msg);
// $player->sendMessage($msg);
// }
QRhelper::CreateQRAndUnmark($this->pgin, $player, $blockTouched, $level, true);
}