mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
working knockback for players
This commit is contained in:
parent
5364718d13
commit
4aa120c3f2
3 changed files with 12 additions and 4 deletions
|
|
@ -1984,7 +1984,7 @@ class Player{
|
|||
}
|
||||
$this->craftingItems = [];
|
||||
$this->toCraft = [];
|
||||
$this->teleport($this->spawnPosition);
|
||||
$this->teleport($this->spawnPosition, false, false, true, false);
|
||||
if($this->entity instanceof Entity){
|
||||
$this->entity->fire = 0;
|
||||
$this->entity->air = $this->entity->maxAir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue