dont be lazy refactor

This commit is contained in:
gnembon committed 2021-04-22 20:37:48 -03:00
1 parent a65d16c9ba
commit 74bd0bb81e
31 files changed
+1078 -1383

No files matched your search

@@ -5,10 +5,12 @@ import net.minecraft.nbt.Tag;
public class FunctionAnnotationValue extends Value
{
// 0 global
// 1 vararg
public int type;
public FunctionAnnotationValue(Value variable, int type)
public enum Type
{
GLOBAL, VARARG
}
public Type type;
public FunctionAnnotationValue(Value variable, Type type)
{
if (variable.boundVariable == null)
throw new InternalExpressionException("You can only borrow variables from the outer scope");