aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorMariell Hoversholm <[email protected]>2021-03-16 17:39:56 +0100
committerMariell Hoversholm <[email protected]>2021-03-18 18:03:22 +0100
commit1c03cf89875c2d5cf056900ee32af9e615ec525f (patch)
treecd4c00ac2947d0b69feeb6839c03f4a0e0625106 /scripts
parent1034873dfac58b990d1c9fa480b307f136c60419 (diff)
downloadPaper-1c03cf89875c2d5cf056900ee32af9e615ec525f.tar.gz
Paper-1c03cf89875c2d5cf056900ee32af9e615ec525f.zip
It's mojang math, not minecraft math
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/remap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/remap.sh b/scripts/remap.sh
index 3caf44a588..60680ac81a 100755
--- a/scripts/remap.sh
+++ b/scripts/remap.sh
@@ -47,7 +47,7 @@ fi
# These specialsource commands are from https://hub.spigotmc.org/stash/projects/SPIGOT/repos/builddata/browse/info.json
echo "Applying class mappings..."
if [ ! -f "$jarpath-$revision-cl.jar" ]; then
- java -jar "$workdir/BuildData/bin/SpecialSource-2.jar" map --only . --only net/minecraft --only com/minecraft/math --auto-lvt BASIC --auto-member SYNTHETIC -i "$jarpath.jar" -m "$classmappings" -o "$jarpath-$revision-cl.jar" 1>/dev/null
+ java -jar "$workdir/BuildData/bin/SpecialSource-2.jar" map --only . --only net/minecraft --only com/mojang/math --auto-lvt BASIC --auto-member SYNTHETIC -i "$jarpath.jar" -m "$classmappings" -o "$jarpath-$revision-cl.jar" 1>/dev/null
if [ "$?" != "0" ]; then
echo "Failed to apply class mappings."
exit 1
@@ -56,7 +56,7 @@ fi
echo "Applying member mappings..."
if [ ! -f "$jarpath-$revision-m.jar" ]; then
- java -jar "$workdir/BuildData/bin/SpecialSource-2.jar" map --only . --only net/minecraft --only com/minecraft/math --auto-member LOGGER --auto-member TOKENS -i "$jarpath-$revision-cl.jar" -m "$membermappings" -o "$jarpath-$revision-m.jar" 1>/dev/null
+ java -jar "$workdir/BuildData/bin/SpecialSource-2.jar" map --only . --only net/minecraft --only com/mojang/math --auto-member LOGGER --auto-member TOKENS -i "$jarpath-$revision-cl.jar" -m "$membermappings" -o "$jarpath-$revision-m.jar" 1>/dev/null
if [ "$?" != "0" ]; then
echo "Failed to apply member mappings."
exit 1
@@ -65,7 +65,7 @@ fi
echo "Creating remapped jar..."
if [ ! -f "$jarpath-$revision-mapped.jar" ]; then
- java -jar "$workdir/BuildData/bin/SpecialSource.jar" --only . --only net/minecraft --only com/minecraft/math -i "$jarpath-$revision-m.jar" --access-transformer "$accesstransforms" -m "$packagemappings" -o "$jarpath-$revision-mapped.jar" 1>/dev/null
+ java -jar "$workdir/BuildData/bin/SpecialSource.jar" --only . --only net/minecraft --only com/mojang/math -i "$jarpath-$revision-m.jar" --access-transformer "$accesstransforms" -m "$packagemappings" -o "$jarpath-$revision-mapped.jar" 1>/dev/null
if [ "$?" != "0" ]; then
echo "Failed to create remapped jar."
exit 1