mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
entity collisions
This commit is contained in:
parent
2ce333af5e
commit
3b15c26b0c
13 changed files with 104 additions and 34 deletions
|
|
@ -1879,7 +1879,7 @@ class Player{
|
|||
* powerMax is 1, powerMin is 0.1
|
||||
* args: xvel, yvel, zvel, (power+power)*1.5, 1.0
|
||||
*/
|
||||
$e->critical = ($power === 1);
|
||||
$e->critical = ($power == 1);
|
||||
$e->shoot($e->speedX, $e->speedY, $e->speedZ, ($power+$power) * 1.5, 1.0);
|
||||
$this->server->api->entity->spawnToAll($e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue