// If there's still no targetPlayer at this point, use previously-set target
// If there's still no targetPlayer at this point, use previously-set target
if(targetPlayer==null){
if(targetPlayer==null){
if(targetPlayerIds.containsKey(playerId)){
if(targetPlayerIds.containsKey(playerId)){
targetPlayer=Grasscutter.getGameServer().getPlayerByUid(targetPlayerIds.get(playerId));// We check every time in case the target goes offline after being targeted
targetPlayer=Grasscutter.getGameServer().getPlayerByUid(targetPlayerIds.get(playerId));// We check every time in case the target goes offline after being targeted