Improved Player flight detection after setMotion(), other method improvement

This commit is contained in:
Shoghi Cervantes
2015-05-03 13:42:54 +02:00
parent 0ead3ec781
commit 9ec609d025
7 changed files with 52 additions and 38 deletions

View File

@ -130,7 +130,7 @@ class Explosion{
public function explodeB(){
$send = [];
$source = (new Vector3($this->source->x, $this->source->y, $this->source->z))->floor();
$source = (new Vector3($this->source->x, $this->source->y, $this->source->z))->round();
$yield = (1 / $this->size) * 100;
if($this->what instanceof Entity){