mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-10-21 03:12:14 +01:00
Fix for undo/redo issue.
This commit is contained in:
9
data/armor_statues/functions/uuid_check.mcfunction
Normal file
9
data/armor_statues/functions/uuid_check.mcfunction
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Description: Checks to see if a UUID matches that of a given UUID of an entity.
|
||||
# Called by: as_statue:repeat/undo_redo
|
||||
# Entity @s: any
|
||||
# Parameters:
|
||||
# UUID (list): a uuid to check against the entity.
|
||||
#
|
||||
$execute if data entity @s { UUID: $(UUID) } run return 1
|
||||
return 0
|
Reference in New Issue
Block a user