diff --git a/.gitignore b/.gitignore index 5105909..857c336 100644 --- a/.gitignore +++ b/.gitignore @@ -49,7 +49,6 @@ bin/* timings/* *.log *.txt -*.phar server.properties pocketmine.yml diff --git a/README.md b/README.md index 52079b0..7e71c62 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ ONLY OPs during gameplay (creative preferred) * `/qrt ` - test QR text/url to count number of needed blocks (NxN) * `/qrc [Auto|horizontal|vertical]` - create QR panel/block * `/qrl` - list QR panels IDs -* `/qrd ` - delete a QR panel by ID +* `/qrd ` - delete QR panel by ID (fills panel space with air) * `/qrp ` - teleport you nearby QR panel with specified ID (IN WORK) diff --git a/releases/QRcraft_v1.0.0.phar b/releases/QRcraft_v1.0.0.phar new file mode 100644 index 0000000..68e522a Binary files /dev/null and b/releases/QRcraft_v1.0.0.phar differ diff --git a/src/clodyx/qrcraft/QRcraftPlugInListener.php b/src/clodyx/qrcraft/QRcraftPlugInListener.php index dc2cc5a..cbf1e30 100644 --- a/src/clodyx/qrcraft/QRcraftPlugInListener.php +++ b/src/clodyx/qrcraft/QRcraftPlugInListener.php @@ -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); }