Skip to content

Commit b938bce

Browse files
committed
fix forge module issue
1 parent b08b77e commit b938bce

File tree

23 files changed

+49
-39
lines changed

23 files changed

+49
-39
lines changed

Common/src/main/java/journeymap/Constants.java renamed to Common/src/main/java/journeymap_webmap/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap;
1+
package journeymap_webmap;
22

33
public interface Constants
44
{

Common/src/main/java/journeymap/WebMapServiceProvider.java renamed to Common/src/main/java/journeymap_webmap/WebMapServiceProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package journeymap;
1+
package journeymap_webmap;
22

33
import journeymap.api.services.WebMapService;
4-
import journeymap.service.webmap.Webmap;
4+
import journeymap_webmap.service.webmap.Webmap;
55

66
public class WebMapServiceProvider implements WebMapService
77
{

Common/src/main/kotlin/journeymap/common/kotlin/extensions/resources.kt renamed to Common/src/main/kotlin/journeymap_webmap/common/kotlin/extensions/resources.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap.common.kotlin.extensions
1+
package journeymap_webmap.common.kotlin.extensions
22

33
import net.minecraft.client.Minecraft
44
import net.minecraft.resources.ResourceLocation

Common/src/main/kotlin/journeymap/service/webmap/Webmap.kt renamed to Common/src/main/kotlin/journeymap_webmap/service/webmap/Webmap.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
package journeymap.service.webmap
1+
package journeymap_webmap.service.webmap
22

33
import io.javalin.Javalin
44
import io.javalin.http.staticfiles.Location
55
import journeymap.client.Constants
66
import journeymap.client.JourneymapClient
77
import journeymap.client.io.FileHandler
88
import journeymap.common.Journeymap
9-
import journeymap.service.webmap.kotlin.routes.*
9+
import journeymap_webmap.Constants.MOD_ID
10+
import journeymap_webmap.service.webmap.kotlin.routes.*
1011
import net.minecraft.resources.ResourceLocation
1112
import org.apache.logging.log4j.Logger
1213
import java.io.File
@@ -54,7 +55,7 @@ object Webmap {
5455
val created =
5556
FileHandler.copyResources(
5657
dir,
57-
ResourceLocation.fromNamespaceAndPath(journeymap.Constants.MOD_ID, "web"),
58+
ResourceLocation.fromNamespaceAndPath(MOD_ID, "web"),
5859
"",
5960
false
6061
)
@@ -82,7 +83,7 @@ object Webmap {
8283
.get("/skin/{uuid}", ::skinGet)
8384
.get("/status", ::statusGet)
8485
.get("/tiles/tile.png", ::tilesGet)
85-
app?.start(port)
86+
app?.start(port)
8687

8788
} catch (e: Exception) {
8889
logger.error("Failed to start server: $e")

Common/src/main/kotlin/journeymap/service/webmap/kotlin/enums/WebmapStatus.kt renamed to Common/src/main/kotlin/journeymap_webmap/service/webmap/kotlin/enums/WebmapStatus.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap.service.webmap.kotlin.enums
1+
package journeymap_webmap.service.webmap.kotlin.enums
22

33
enum class WebmapStatus(val status: String)
44
{

Common/src/main/kotlin/journeymap/service/webmap/kotlin/routes.kt renamed to Common/src/main/kotlin/journeymap_webmap/service/webmap/kotlin/routes.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap.service.webmap.kotlin
1+
package journeymap_webmap.service.webmap.kotlin
22

33
import io.javalin.http.Context
44
import journeymap.common.Journeymap

Common/src/main/kotlin/journeymap/service/webmap/kotlin/routes/action.kt renamed to Common/src/main/kotlin/journeymap_webmap/service/webmap/kotlin/routes/action.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap.service.webmap.kotlin.routes
1+
package journeymap_webmap.service.webmap.kotlin.routes
22

33
import com.google.gson.Gson
44
import com.google.gson.GsonBuilder

Common/src/main/kotlin/journeymap/service/webmap/kotlin/routes/data.kt renamed to Common/src/main/kotlin/journeymap_webmap/service/webmap/kotlin/routes/data.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap.service.webmap.kotlin.routes
1+
package journeymap_webmap.service.webmap.kotlin.routes
22

33
import com.google.gson.Gson
44
import com.google.gson.GsonBuilder

Common/src/main/kotlin/journeymap/service/webmap/kotlin/routes/log.kt renamed to Common/src/main/kotlin/journeymap_webmap/service/webmap/kotlin/routes/log.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap.service.webmap.kotlin.routes
1+
package journeymap_webmap.service.webmap.kotlin.routes
22

33
import io.javalin.http.Context
44
import journeymap.client.log.JMLogger

Common/src/main/kotlin/journeymap/service/webmap/kotlin/routes/polygons.kt renamed to Common/src/main/kotlin/journeymap_webmap/service/webmap/kotlin/routes/polygons.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package journeymap.service.webmap.kotlin.routes
1+
package journeymap_webmap.service.webmap.kotlin.routes
22

33
import com.google.gson.Gson
44
import com.google.gson.GsonBuilder

0 commit comments

Comments
 (0)