Skip to content

Commit

Permalink
Update github.trg
Browse files Browse the repository at this point in the history
  • Loading branch information
Cupelt authored Apr 16, 2023
1 parent 0e44517 commit 40320c7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CommandTrigger/github.trg
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,6 @@ IF args.length == 2 || args.length == 3
#MESSAGE "&cDeleted &4'"+ beforePath +"'"
packageManager.remove(args[1].toLowerCase())
#MESSAGE "&eReloading TriggerReactor...";
SYNC
FOR manager = Manager.getManagers()
manager.reload();
ENDFOR
ENDSYNC
#MESSAGE "&aReload Complete TriggerReactor!";
ELSE
#MESSAGE "&4Failed to delete '.trgpack' file, Please restart the server and try again"
Expand All @@ -299,6 +294,12 @@ IF args.length == 2 || args.length == 3

#MESSAGE "&cDelete Complete &4'"+packageJson.get("name").getAsString()+"'"
packageManager.remove(args[1].toLowerCase())

SYNC
FOR manager = Manager.getManagers()
manager.reload();
ENDFOR
ENDSYNC
ELSE
#MESSAGE "&c'"+args[1]+"' not found";
ENDIF
Expand Down

0 comments on commit 40320c7

Please sign in to comment.