mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
such change. very cool.
This commit is contained in:
parent
0664e1ae03
commit
0e231fedd8
1 changed files with 2 additions and 2 deletions
|
|
@ -145,8 +145,8 @@ class Player{
|
|||
if(!($this->entity instanceof Entity) or $this->connected === false){
|
||||
return false;
|
||||
}
|
||||
$X = ($this->entity->x - 0.5) / 16;
|
||||
$Z = ($this->entity->z - 0.5) / 16;
|
||||
$X = $this->entity->x >> 4;
|
||||
$Z = $this->entity->z >> 4;
|
||||
$v = new Vector2($X, $Z);
|
||||
$this->chunksOrder = array();
|
||||
for($x = 0; $x < 16; ++$x){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue