Skript icon indicating copy to clipboard operation
Skript copied to clipboard

ExprTestPlayer + Comparator Update

Open Absolutionism opened this issue 7 months ago • 2 comments

Description

This PR aims to add a test-player to the testing environment allowing for easier usage of needing a player for a test. Having this expression makes all usages be the same, so if and when, for whatever reason, we can not get Notch as an OfflinePlayer, can just change the field within the class.

Also adds an OfflinePlayer to UUID comparator, and updates the OfflinePlayer to String comparator, if the String was in the form of a UUID


Target Minecraft Versions: any Requirements: none Related Issues: none

Absolutionism avatar Apr 29 '25 20:04 Absolutionism

You could add tests for the OfflinePlayer and UUID comparator in the ExprUUID.sk file

Burbulinis avatar Apr 30 '25 17:04 Burbulinis

Seems 1.20.4 and 1.20.6 are not a fan of the UUID version.

Absolutionism avatar May 16 '25 10:05 Absolutionism