mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
mobs should spawn in block centers, so they will hopefully not stuck in walls
This commit is contained in:
parent
e827427d1a
commit
33fe60364d
1 changed files with 2 additions and 2 deletions
|
|
@ -58,9 +58,9 @@ class MobSpawner{
|
||||||
|
|
||||||
private function genPosData($x, $y, $z){
|
private function genPosData($x, $y, $z){
|
||||||
return [
|
return [
|
||||||
"x" => $x,
|
"x" => $x + 0.5,
|
||||||
"y" => $y,
|
"y" => $y,
|
||||||
"z" => $z
|
"z" => $z + 0.5
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue