crafting recipe is at least successfully read and parsed by the modloader

This commit is contained in:
minjaesong
2022-06-25 22:40:23 +09:00
parent 4569546bdd
commit 8c07b03213
12 changed files with 34 additions and 17 deletions

View File

@@ -101,7 +101,7 @@ open class FixtureItemBase(originalID: ItemID, val fixtureClassName: String) : G
fun getItemImageFromSheet(module: String, path: String, tileW: Int, tileH: Int): TextureRegion {
val id = "$module/${path.replace('\\','/')}"
return (CommonResourcePool.getOrPut(id) {
TextureRegionPack(ModMgr.getGdxFile(module, path), tileW, tileH, flipY = false)
TextureRegionPack(ModMgr.getGdxFile(module, path), tileW, tileH)
} as TextureRegionPack).get(0,0)
}