Remove vanilla items from the item list
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user