mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Worked on chunk loading
This commit is contained in:
@ -40,7 +40,7 @@ class Ore{
|
||||
}
|
||||
|
||||
public function canPlaceObject(Level $level, $x, $y, $z){
|
||||
return ($level->level->getBlockID($x, $y, $z) !== 0);
|
||||
return ($level->level->getBlockID($x, $y, $z) === 1);
|
||||
}
|
||||
|
||||
public function placeObject(Level $level, Vector3 $pos){
|
||||
|
Reference in New Issue
Block a user