mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
Merge pull request #383 from EmosewaMC/bananaFixes
Changed banana drop spawn Y height to prevent them from getting stuck on the trees
This commit is contained in:
commit
789c0890ca
@ -64,8 +64,8 @@ void GfBanana::OnHit(Entity* self, Entity* attacker)
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
bananaEntity->SetPosition(bananaEntity->GetPosition() - NiPoint3::UNIT_Y * 5);
|
||||
|
||||
bananaEntity->SetPosition(bananaEntity->GetPosition() - NiPoint3::UNIT_Y * 8);
|
||||
|
||||
auto* bananaDestroyable = bananaEntity->GetComponent<DestroyableComponent>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user