Switch to isUsingItem()

I don't plan on using this, as you informed me on discord that I didn't need the extra step, and it's a BC break anyway
This commit is contained in:
Stephen 2019-11-07 19:49:04 -05:00
parent 6166c90bfd
commit eef979db4c

View File

@ -2542,7 +2542,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
} }
} }
if($this->startAction === -1){ if(!$this->isUsingItem()){
$this->setUsingItem(true); $this->setUsingItem(true);
return true; return true;
} }