mirror of
https://codeberg.org/vlw/mcfstd.git
synced 2026-04-12 22:29:39 +02:00
fix: add missing math:lteq function (#3)
This PR adds the missing `math:lteq` function which I forgot to create for the initial release. Reviewed-on: https://codeberg.org/vlw/mcfstd/pulls/3
This commit is contained in:
parent
0385912729
commit
4e797fc0db
1 changed files with 7 additions and 0 deletions
7
data/comp/function/lteq.mcfunction
Normal file
7
data/comp/function/lteq.mcfunction
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function z_:construct
|
||||
|
||||
$function comp:eq { a: $(a), b: $(b) }
|
||||
execute unless function std:out run return fail
|
||||
|
||||
$function comp:lt { a: $(a), b: $(b) }
|
||||
execute unless function std:out run return fail
|
||||
Loading…
Add table
Reference in a new issue