Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit 3e4f8e3

Browse files
committed
Fix
1 parent 124e25c commit 3e4f8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VectorNetworkProject/TheMix/task/BlockReGeneratorTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(Block $block)
2727
*/
2828
public function onRun(int $currentTick)
2929
{
30-
if (TheMix::getInstance()->getServer()->getLevelByName($this->getBlock()->getLevel()->getName())->getId() === $this->getBlock()->getLevel()->getId()) {
30+
if (TheMix::getInstance()->getServer()->getLevelByName($this->getBlock()->getLevel()->getName())->getId() !== $this->getBlock()->getLevel()->getId()) {
3131
$this->getHandler()->cancel();
3232

3333
return;

0 commit comments

Comments
 (0)