Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Commit

Permalink
fix typo in Upstream.kt (#465)
Browse files Browse the repository at this point in the history
* fix typo in Upstream.kt

* lowercase api
  • Loading branch information
foss-mc authored Apr 19, 2021
1 parent d99cf54 commit f438550
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Upstream.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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())


Expand Down Expand Up @@ -85,4 +85,4 @@ open class Upstream(in_name: String, in_useBlackList: Boolean, in_list: String,
}
return filesList
}
}
}
2 changes: 1 addition & 1 deletion upstreamConfig/0005-Empirecraft.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f438550

Please sign in to comment.