mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Fix for crashes via item (MCPE-1198)
This commit is contained in:
parent
3578b90a39
commit
f1c593d809
4 changed files with 6 additions and 18 deletions
|
|
@ -31,7 +31,7 @@ class LadderBlock extends TransparentBlock{
|
|||
}
|
||||
public function place(BlockAPI $level, Item $item, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz){
|
||||
if($block->inWorld === true){
|
||||
if($block->isTransparent === false){
|
||||
if($target->isTransparent === false){
|
||||
$faces = array(
|
||||
2 => 2,
|
||||
3 => 3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue