From 97e4427e8aff80201298c4272e7cc75d21a67371 Mon Sep 17 00:00:00 2001 From: xenial Date: Sun, 13 Dec 2020 02:36:27 +0100 Subject: [PATCH] Fix missing Position input --- src/xenialdan/MagicWE2/clipboard/RevertClipboard.php | 1 + src/xenialdan/MagicWE2/task/AsyncRevertTask.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/xenialdan/MagicWE2/clipboard/RevertClipboard.php b/src/xenialdan/MagicWE2/clipboard/RevertClipboard.php index 9cd4abcf..cc5131f4 100644 --- a/src/xenialdan/MagicWE2/clipboard/RevertClipboard.php +++ b/src/xenialdan/MagicWE2/clipboard/RevertClipboard.php @@ -6,6 +6,7 @@ use pocketmine\world\format\Chunk; use pocketmine\world\format\io\FastChunkSerializer; +use pocketmine\world\Position; use pocketmine\world\World; class RevertClipboard extends Clipboard diff --git a/src/xenialdan/MagicWE2/task/AsyncRevertTask.php b/src/xenialdan/MagicWE2/task/AsyncRevertTask.php index c7221071..971e2c51 100644 --- a/src/xenialdan/MagicWE2/task/AsyncRevertTask.php +++ b/src/xenialdan/MagicWE2/task/AsyncRevertTask.php @@ -9,6 +9,7 @@ use pocketmine\utils\AssumptionFailedError; use pocketmine\utils\TextFormat as TF; use pocketmine\uuid\UUID; +use pocketmine\world\Position; use xenialdan\MagicWE2\clipboard\RevertClipboard; use xenialdan\MagicWE2\exception\SessionException; use xenialdan\MagicWE2\helper\AsyncChunkManager;