mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Fix for blocks getting replaced
This commit is contained in:
parent
52810a11ba
commit
30d2b41264
@ -59,7 +59,7 @@ class BlockAPI{
|
||||
return;
|
||||
}
|
||||
|
||||
if(!isset(Material::$replaceable[$target[0]])){
|
||||
//if(!isset(Material::$replaceable[$target[0]])){
|
||||
switch($data["face"]){
|
||||
case 0:
|
||||
--$data["y"];
|
||||
@ -80,7 +80,7 @@ class BlockAPI{
|
||||
++$data["x"];
|
||||
break;
|
||||
}
|
||||
}
|
||||
//}
|
||||
if($data["y"] >= 127){
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user