Merge branch 'stable' into next-minor

This commit is contained in:
Dylan K. Taylor
2020-05-17 10:03:17 +01:00
12 changed files with 105 additions and 13 deletions

View File

@ -1909,7 +1909,7 @@ class Level implements ChunkManager, Metadatable{
if($player !== null){
$ev = new BlockPlaceEvent($player, $hand, $blockReplace, $blockClicked, $item);
if($this->checkSpawnProtection($player, $blockClicked)){
if($this->checkSpawnProtection($player, $blockReplace)){
$ev->setCancelled();
}