skript-mirror
                                
                                 skript-mirror copied to clipboard
                                
                                    skript-mirror copied to clipboard
                            
                            
                            
                        UUID expression should return a UUID when needed
If I have a method
public void getByUUID(UUID uuid)
I should be able to call it from scripts like getByUUID(player's uuid), but it should only be replaced if necessary. That is, a method getByUUID(String uuid) would still work with the same call.
So, strings should be parsed into UUIDs when applicable?
maybe. What I'm specifically suggesting is replacing uuid expressions with calls to thing.getUniqueId()
I'm not sure how I feel about treating specific expressions differently. It means introducing a local variable could potentially change the script's semantics and the behavior would be inconsistent with other expressions that also return stringified uuids.