We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce80778 commit f53fd66Copy full SHA for f53fd66
1 file changed
src/Sandertv/BlockSniper/cloning/CloneStorer.php
@@ -40,9 +40,8 @@ public function saveCopy(array $blocks) {
40
}
41
42
public function unsetCopy() {
43
- foreach($this->copyStore as $blocks) {
44
- unset($blocks);
45
- }
+ unset($this->copyStore);
+ $this->copyStore = [];
46
47
48
// Required for math to copy-paste it on the location looked at.
0 commit comments