mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Living: fixed a usage of hardcoded numeric ID
This commit is contained in:
parent
227f28a6d2
commit
39b8daeeec
@ -775,7 +775,7 @@ abstract class Living extends Entity{
|
||||
$id = $block->getId();
|
||||
|
||||
if($transparent === null){
|
||||
if($id !== 0){
|
||||
if($id !== BlockLegacyIds::AIR){
|
||||
break;
|
||||
}
|
||||
}else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user