mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49: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){
|
if(!($this->entity instanceof Entity) or $this->connected === false){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$X = ($this->entity->x - 0.5) / 16;
|
$X = $this->entity->x >> 4;
|
||||||
$Z = ($this->entity->z - 0.5) / 16;
|
$Z = $this->entity->z >> 4;
|
||||||
$v = new Vector2($X, $Z);
|
$v = new Vector2($X, $Z);
|
||||||
$this->chunksOrder = array();
|
$this->chunksOrder = array();
|
||||||
for($x = 0; $x < 16; ++$x){
|
for($x = 0; $x < 16; ++$x){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue