mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Fix for blocks getting replaced
This commit is contained in:
parent
52810a11ba
commit
30d2b41264
1 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ class BlockAPI{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!isset(Material::$replaceable[$target[0]])){
|
//if(!isset(Material::$replaceable[$target[0]])){
|
||||||
switch($data["face"]){
|
switch($data["face"]){
|
||||||
case 0:
|
case 0:
|
||||||
--$data["y"];
|
--$data["y"];
|
||||||
|
|
@ -80,7 +80,7 @@ class BlockAPI{
|
||||||
++$data["x"];
|
++$data["x"];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
if($data["y"] >= 127){
|
if($data["y"] >= 127){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue