package online.pizzacrust.lukkitplus.api;


import online.pizzacrust.lukkitplus.environment.LuaLibrary;

public class CentralPoint extends LuaLibrary.StaticLibrary {
    public CentralPoint() {

    }

    @Override
    public String getName() {
        return "lukkit";
    }
}

@@ -49,231 +49,826 @@
 rt o
-nline.pizzacrust.lukkitplus.environment.LuaLibrary;%0A%0Apublic class CentralPoint extends LuaLibrary.StaticLibrary %7B%0A    public CentralPoint() %7B%0A%0A    %7D%0A%0A    @Override%0A    public String getName() %7B%0A        return %22lukkit%22;%0A    %7D
+rg.luaj.vm2.LuaValue;%0Aimport org.luaj.vm2.Varargs;%0A%0Aimport java.util.logging.Logger;%0A%0Aimport online.pizzacrust.lukkitplus.environment.FunctionController;%0Aimport online.pizzacrust.lukkitplus.environment.LuaLibrary;%0A%0Apublic class CentralPoint extends LuaLibrary.StaticLibrary %7B%0A    public CentralPoint() %7B%0A        newFunction(new LoggerFunctionController());%0A    %7D%0A%0A    public static Logger LOGGER; // This field will be filled in runtime.%0A%0A    @Override%0A    public String getName() %7B%0A        return %22lukkit%22;%0A    %7D%0A%0A    public static class LoggerFunctionController implements FunctionController %7B%0A        @Override%0A        public String getName() %7B%0A            return %22logger%22;%0A        %7D%0A%0A        @Override%0A        public LuaValue onCalled(Varargs parameters) %7B%0A            return new LuaLogger(LOGGER);%0A        %7D%0A    %7D%0A
 %0A%7D%0A

Add logger function