mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 17:58:20 +00:00
Update InterruptBehavior.cpp
This commit is contained in:
parent
b8251c06b8
commit
426a84daf9
@ -46,8 +46,6 @@ void InterruptBehavior::Handle(BehaviorContext* context, RakNet::BitStream* bitS
|
||||
|
||||
if (target == nullptr) return;
|
||||
|
||||
if (target->GetLOT() == 1) return;
|
||||
|
||||
auto* skillComponent = target->GetComponent<SkillComponent>();
|
||||
|
||||
if (skillComponent == nullptr) return;
|
||||
@ -73,8 +71,6 @@ void InterruptBehavior::Calculate(BehaviorContext* context, RakNet::BitStream* b
|
||||
|
||||
if (target == nullptr) return;
|
||||
|
||||
if (target->GetLOT() == 1) return;
|
||||
|
||||
auto* skillComponent = target->GetComponent<SkillComponent>();
|
||||
|
||||
if (skillComponent == nullptr) return;
|
||||
|
Loading…
Reference in New Issue
Block a user