mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 05:40:01 +00:00
Fixed held block placement after respawn anchor explosion (#6742)
This commit is contained in:
parent
04494e845c
commit
2a97b4294d
@ -85,7 +85,7 @@ final class RespawnAnchor extends Opaque{
|
||||
switch($ev->getAction()){
|
||||
case PlayerRespawnAnchorUseEvent::ACTION_EXPLODE:
|
||||
$this->explode($player);
|
||||
return false;
|
||||
return true;
|
||||
|
||||
case PlayerRespawnAnchorUseEvent::ACTION_SET_SPAWN:
|
||||
if($player->getSpawn() !== null && $player->getSpawn()->equals($this->position)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user