Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 6edbf6a

Browse files
author
Saturn745
committed
Remove enum wrapper
Generally went unused and has caused issues in the newest versions
1 parent c0b6474 commit 6edbf6a

File tree

3 files changed

+0
-64
lines changed

3 files changed

+0
-64
lines changed

src/main/kotlin/xyz/galaxyy/lualink/lua/LuaScriptManager.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import org.luaj.vm2.LuaError
88
import org.luaj.vm2.lib.jse.JsePlatform
99
import xyz.galaxyy.lualink.LuaLink
1010
import xyz.galaxyy.lualink.lua.misc.PrintOverride
11-
import xyz.galaxyy.lualink.lua.wrappers.LuaEnumWrapper
1211
import java.io.File
1312

1413
class LuaScriptManager(private val plugin: LuaLink) {
@@ -27,7 +26,6 @@ class LuaScriptManager(private val plugin: LuaLink) {
2726
globals.set("print", PrintOverride(this.plugin))
2827
globals.set("utils", LuaUtils()) // Passing script to LuaUtils for state
2928
globals.set("scheduler", LuaScheduler(this.plugin, script)) // Passing script to LuaScheduler for state
30-
globals.set("enums", LuaEnumWrapper())
3129
globals.set("import", LuaImport())
3230
globals.set("addons", LuaAddons())
3331
this.plugin.logger.info("Loading script ${file.name}")

src/main/kotlin/xyz/galaxyy/lualink/lua/wrappers/LuaEnum.kt

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/main/kotlin/xyz/galaxyy/lualink/lua/wrappers/LuaEnumWrapper.kt

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)