// If there's still no targetPlayer at this point, use previously-set target
if(targetPlayer==null){
if(targetPlayerIds.containsKey(playerId)){
targetPlayer=Grasscutter.getGameServer().getPlayerByUid(targetPlayerIds.get(playerId));// We check every time in case the target goes offline after being targeted
@Command(label="giveart",usage="giveart <artifactId> <mainPropId> [<appendPropId>[,<times>]]... [level]",description="Gives the player a specified artifact",aliases={"gart"},permission="player.giveart")