From 2798e541678aa9f89649c98c99d86d6086192dc1 Mon Sep 17 00:00:00 2001 From: bigguy345 Date: Fri, 6 Mar 2026 20:59:39 +0200 Subject: [PATCH] Made "any" primitive --- .../npcs/client/gui/util/script/interpreter/type/TypeInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/noppes/npcs/client/gui/util/script/interpreter/type/TypeInfo.java b/src/main/java/noppes/npcs/client/gui/util/script/interpreter/type/TypeInfo.java index d188bd7fa..51c9340c5 100644 --- a/src/main/java/noppes/npcs/client/gui/util/script/interpreter/type/TypeInfo.java +++ b/src/main/java/noppes/npcs/client/gui/util/script/interpreter/type/TypeInfo.java @@ -63,7 +63,7 @@ public class TypeInfo { * The "any" type is universally compatible - it can be assigned to anything * and anything can be assigned to it. */ - public static final TypeInfo ANY = new TypeInfo("any", "any", "", Kind.CLASS, null, true, null); + public static final TypeInfo ANY = new TypeInfo("any", "any", "", Kind.CLASS, null, true, null).setPrimitive(true); public static final TypeInfo NUMBER = new TypeInfo("number", "number", "", Kind.CLASS, double.class, true, null).setPrimitive(true);