mirror of
https://code.chipmunk.land/ChomeNS/chipmunkmod.git
synced 2025-11-13 18:46:15 +00:00
refactor: update UUIDUtilities selector to be more compact
This commit is contained in:
parent
f602648f88
commit
5e1e7591e7
1 changed files with 1 additions and 1 deletions
|
|
@ -20,5 +20,5 @@ public class UUIDUtilities {
|
|||
return "[I;" + array[0] + "," + array[1] + "," + array[2] + "," + array[3] + "]"; // TODO: improve lol
|
||||
}
|
||||
|
||||
public static String selector (final UUID uuid) { return "@a[limit=1,nbt={UUID:" + snbt(uuid) + "}]"; }
|
||||
public static String selector (final UUID uuid) { return "@p[nbt={UUID:" + snbt(uuid) + "}]"; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue