Skip to content

Commit

Permalink
Fix form buttons cannot load UUID. fix #113
Browse files Browse the repository at this point in the history
  • Loading branch information
aieuo committed Feb 19, 2022
1 parent 0d68c56 commit 5390f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aieuo/mineflow/formAPI/element/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ public static function fromSerializedArray(array $data): ?self {
$button->setImage(new ButtonImage($data["image"]["data"], $data["image"]["type"]));
}

return $button->uuid($buttonData["id"] ?? "");
return $button->uuid($data["id"] ?? "");
}
}

0 comments on commit 5390f3d

Please sign in to comment.