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 40320c7 commit 1d3b28e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CommandTrigger/github.trg
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ IF args.length == 2 || args.length == 3
IF beforeFile.delete()
#MESSAGE "&cDeleted &4'"+ beforePath +"'"
packageManager.remove(args[1].toLowerCase())
#MESSAGE "&eReloading TriggerReactor...";
#MESSAGE "&aReload Complete TriggerReactor!";
ELSE
#MESSAGE "&4Failed to delete '.trgpack' file, Please restart the server and try again"
#MESSAGE "&cThere is no problem with the process,"
Expand All @@ -294,12 +292,14 @@ IF args.length == 2 || args.length == 3

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


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

0 comments on commit 1d3b28e

Please sign in to comment.