mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Non-npc stuff is now also using script system. Wrote new scripts for all sidemenu commands.
This commit is contained in:
@@ -246,12 +246,8 @@ namespace FFXIVClassic_Map_Server
|
||||
*/
|
||||
|
||||
Actor ownerActor = Server.GetStaticActors(eventStart.scriptOwnerActorID);
|
||||
if (ownerActor != null && ownerActor is Command)
|
||||
{
|
||||
player.GetActor().currentCommand = eventStart.scriptOwnerActorID;
|
||||
player.GetActor().currentCommandName = eventStart.triggerName;
|
||||
}
|
||||
else
|
||||
|
||||
if (ownerActor != null)
|
||||
{
|
||||
player.GetActor().currentEventOwner = eventStart.scriptOwnerActorID;
|
||||
player.GetActor().currentEventName = eventStart.triggerName;
|
||||
|
Reference in New Issue
Block a user