mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
Small test for crash
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import sys
|
||||
import sys
|
||||
from resources.datatables import Posture
|
||||
from tools import DevLogQueuer
|
||||
|
||||
def setup():
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
object = actor
|
||||
print(object.getObjectID());
|
||||
core.buffService.addBuffToCreature(actor, 'set_bonus_officer_utility_b_3', actor);
|
||||
#core.getSWGObjectODB().put(object.getObjectID(), object);
|
||||
|
||||
return
|
||||
|
||||
if actor.getPosture() == Posture.Incapacitated or actor.getPosture() == Posture.Dead:
|
||||
return
|
||||
|
||||
actor.setPosture(Posture.Crouched)
|
||||
actor.setSpeedMultiplierBase(0)
|
||||
actor.setTurnRadius(0)
|
||||
|
||||
return
|
||||
@@ -331,7 +331,7 @@ public class CharacterService implements INetworkDispatch {
|
||||
missionBag.setStaticObject(false);
|
||||
|
||||
object._add(inventory);
|
||||
object._add(appInventory);
|
||||
//object._add(appInventory);
|
||||
object._add(datapad);
|
||||
object._add(bank);
|
||||
object._add(missionBag);
|
||||
|
||||
Reference in New Issue
Block a user