From d665749481410f6afe4a59094e3239120d46a63f Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 6 Mar 2021 11:54:55 +0000 Subject: [PATCH] Use a shorter name for caches downloaded directly from a JS5 server Signed-off-by: Graham --- .../main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt b/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt index d91e762c..9e232165 100644 --- a/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt +++ b/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt @@ -182,7 +182,6 @@ public class Js5ChannelHandler( Js5Compression.uncompress(buf.slice()).use { uncompressed -> masterIndex = Js5MasterIndex.read(uncompressed.slice(), masterIndexFormat) - val name = "Downloaded from $hostname:$port" val (id, rawIndexes) = runBlocking { importer.importMasterIndexAndGetIndexes( masterIndex!!, @@ -192,7 +191,7 @@ public class Js5ChannelHandler( build, lastMasterIndexId, timestamp = Instant.now(), - name + name = "Original" ) } try {