diff options
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/commands/rome.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt index 18599d5..df5bc80 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt @@ -138,7 +138,6 @@ fun firmamentCommand() = literal("firmament") { source.sendFeedback(Text.translatable("firmament.sbinfo.mode", locrawInfo.mode)) source.sendFeedback(Text.translatable("firmament.sbinfo.map", locrawInfo.map)) } - } } } diff --git a/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt b/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt index 8b8383a..def73fe 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt @@ -83,9 +83,9 @@ class FirmamentReiPlugin : REIClientPlugin { } override fun registerEntries(registry: EntryRegistry) { - RepoManager.neuRepo.items?.items?.values?.forEach { - if (!it.isVanilla) - registry.addEntry(SBItemEntryDefinition.getEntry(it.skyblockId)) + registry.removeEntryIf { true } + RepoManager.neuRepo.items?.items?.values?.forEach { neuItem -> + registry.addEntry(SBItemEntryDefinition.getEntry(neuItem.skyblockId)) } } } |