Fix applyPatches.sh not correctly pulling bukkit updates
Conflicts: applyPatches.sh
This commit is contained in:
parent
6776612919
commit
65491ca84d
1 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,10 @@ function applyPatch {
|
||||||
echo
|
echo
|
||||||
echo "Applying SpigotMC patches to CraftBukkit and Bukkit"
|
echo "Applying SpigotMC patches to CraftBukkit and Bukkit"
|
||||||
echo
|
echo
|
||||||
applyPatch Bukkit Spigot-API origin/master && applyPatch CraftBukkit Spigot-Server origin/patched
|
cd ../Bukkit
|
||||||
|
hash=$(git rev-parse HEAD)
|
||||||
|
git branch -f spigot "$hash"
|
||||||
|
applyPatch Bukkit Spigot-API origin/spigot && applyPatch CraftBukkit Spigot-Server origin/patched
|
||||||
echo
|
echo
|
||||||
echo "Applying PaperSpigot patches to Spigot-Server and Spigot-API"
|
echo "Applying PaperSpigot patches to Spigot-Server and Spigot-API"
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue