mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-21 02:16:33 +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();
|
$id = $block->getId();
|
||||||
|
|
||||||
if($transparent === null){
|
if($transparent === null){
|
||||||
if($id !== 0){
|
if($id !== BlockLegacyIds::AIR){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user