mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 02:25:51 +01:00
fix typo in Upstream.kt (#465)
* fix typo in Upstream.kt * lowercase api
This commit is contained in:
parent
d99cf54b0c
commit
f43855078b
@ -15,7 +15,7 @@ open class Upstream(in_name: String, in_useBlackList: Boolean, in_list: String,
|
||||
|
||||
var serverList = list.stream().filter { patch -> patch.startsWith("server/") }
|
||||
?.sorted()?.map { patch -> patch.substring(7, patch.length) }?.collect(Collectors.toList())
|
||||
var apiList = list.stream().filter { patch -> patch.startsWith("API/") }
|
||||
var apiList = list.stream().filter { patch -> patch.startsWith("api/") }
|
||||
?.sorted()?.map { patch -> patch.substring(4, patch.length) }?.collect(Collectors.toList())
|
||||
|
||||
|
||||
@ -85,4 +85,4 @@ open class Upstream(in_name: String, in_useBlackList: Boolean, in_list: String,
|
||||
}
|
||||
return filesList
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
name=Empirecraft
|
||||
useBlackList=false
|
||||
list=API/Add-ChatColor.getById.patch,server/Don-t-trigger-Lootable-Refresh-for-non-player-intera.patch,server/Fix-Bukkit.createInventory-with-type-LECTERN.patch,server/dont-load-chunks-for-physics.patch
|
||||
list=api/Add-ChatColor.getById.patch,server/Don-t-trigger-Lootable-Refresh-for-non-player-intera.patch,server/Fix-Bukkit.createInventory-with-type-LECTERN.patch,server/dont-load-chunks-for-physics.patch
|
||||
branch=origin/master
|
||||
|
Loading…
Reference in New Issue
Block a user