Commit a527f12 1 parent 6cb5415 commit a527f12 Copy full SHA for a527f12
File tree 2 files changed +12
-10
lines changed
2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -110,13 +110,15 @@ elif [ ! -d "base/Paper/PaperSpigot-Server" ]; then
110
110
exit 1
111
111
fi
112
112
113
- # Apply PandaSpigot
114
- (
115
- applyPatch " base/Paper/PaperSpigot-API" PandaSpigot-API HEAD patches/api &&
116
- applyPatch " base/Paper/PaperSpigot-Server" PandaSpigot-Server HEAD patches/server
117
- cd " $basedir "
118
- ) || (
119
- echo " Failed to apply PandaSpigot Patches"
120
- exit 1
121
- ) || exit 1
113
+ if [ " $2 " != " --setup" ]; then
114
+ # Apply PandaSpigot
115
+ (
116
+ applyPatch " base/Paper/PaperSpigot-API" PandaSpigot-API HEAD patches/api &&
117
+ applyPatch " base/Paper/PaperSpigot-Server" PandaSpigot-Server HEAD patches/server
118
+ cd " $basedir "
119
+ ) || (
120
+ echo " Failed to apply PandaSpigot Patches"
121
+ exit 1
122
+ ) || exit 1
123
+ fi
122
124
) || exit 1
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ if [ "$2" == "--setup" ] || [ "$2" == "--jar" ]; then
13
13
./scripts/decompile.sh " $basedir "
14
14
./scripts/init.sh " $basedir "
15
15
fi
16
+ ./scripts/applyPatches.sh " $basedir " " $2 "
16
17
17
18
if [ " $2 " == " --jar" ]; then
18
- ./scripts/applyPatches.sh " $basedir " " $2 "
19
19
./gradlew build && ./scripts/paperclip.sh " $basedir "
20
20
fi
21
21
) || exit 1
You can’t perform that action at this time.
0 commit comments