diff --git a/src/main/java/land/chipmunk/chipmunkmod/commands/EvalCommand.java b/src/main/java/land/chipmunk/chipmunkmod/commands/EvalCommand.java index 95f43e9..4ead74d 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/commands/EvalCommand.java +++ b/src/main/java/land/chipmunk/chipmunkmod/commands/EvalCommand.java @@ -36,6 +36,7 @@ public class EvalCommand { globals.set("client", CoerceJavaToLua.coerce(MinecraftClient.getInstance())); globals.set("context", CoerceJavaToLua.coerce(context)); + globals.set("class", CoerceJavaToLua.coerce(Class.class)); LuaValue chunk = globals.load(code);