Skip to content

Commit

Permalink
Fixed a really silly mistake :P
Browse files Browse the repository at this point in the history
  • Loading branch information
falkirks committed May 5, 2017
1 parent 45250a4 commit 6eee7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/falkirks/minereset/listener/CreationListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function onBlockTap(PlayerInteractEvent $event){
$session = $this->getPlayerSession($event->getPlayer());

if($session !== null){
if($session->getLevel() === null || $session->getLevel()->getId() === $event->getPlayer()->getId()) {
if($session->getLevel() === null || $session->getLevel()->getId() === $event->getPlayer()->getLevel()->getId()) {
$session->setNextPoint($event->getBlock());
$session->setLevel($event->getPlayer()->getPosition()->getLevel());

Expand Down

0 comments on commit 6eee7bd

Please sign in to comment.