mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-09 04:12:01 +01:00
a53bff4904
Upstream/An Sidestream has released updates that appears to apply and compile correctly This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing. Tuinity Changes: fea2c2b Updated Upstream (Paper) 490c26a Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.4 8056d13 Setup bstats page 44f5e54 Updated Upstream (Paper) Akarin Changes: b53f48a Update Jenkinsfile 1e9cf1a Update SUPPORT.md b9255e8 kinda useless when we have jenkins f6e4782 Update Jenkinsfile 5ecf3fe Update Jenkinsfile cbd236b Updated JenkinsFile 0d2ff08 Removed Gradle 2dab0a4 Removed gradle EMC Changes: 90b678ea Updated Paper ce669f9f Clear bukkit chunk tempmeta on reload a524531d Improve vehicle/passenger teleporting patch 42b3f944 Update README.md (#8) 3e1aa746 Add sender uuid to chat messages a27a3a8f Updated Paper Purpur Changes: 7174d63 PaperPR - Projectile load/save limit per chunk 61d72c7 Add boat fall damage config 7403d46 Fix patch number 40d8df2 Add configurable entity left handedness chance 93e08ee Fix patch header and comments from last commit :3 ed192b6 Add Origami's patch to fix ProtocolLib on Java 15 7eb96ff Left handed API 3224b2b Better name for an OBFHELPER 9ec6496 Missed an OBFHELPER 7f93289 Add demo command 3b68476 Fix build a5fc52c Updated Upstream (Paper) 67ebb28 Optimize EntityMoveEvent detection 585fad0 Add RidableMoveEvent c835ce8 PaperPR - Expose world spawn angle 6a209ef Zombie break door minimum difficulty option 8c4de5c Updated Upstream (Paper & Tuinity)
46 lines
859 B
Bash
Executable File
46 lines
859 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
PS1=$
|
|
basedir=`pwd`
|
|
|
|
function update {
|
|
branch=$2
|
|
if [ -z "$2" ]; then
|
|
branch="master"
|
|
fi
|
|
cd "$basedir/$1"
|
|
git fetch && git reset --hard origin/$branch
|
|
git add $1
|
|
}
|
|
|
|
function updateAll {
|
|
update AirplaneLite master
|
|
update Akarin ver/1.16.4
|
|
update Empirecraft master
|
|
update Origami 1.16
|
|
update Purpur ver/1.16.4
|
|
update Tuinity ver/1.16.4
|
|
git submodule update --recursive
|
|
}
|
|
|
|
if [ -z "$1" ]; then
|
|
updateAll
|
|
elif [ "$1" == "true" ]; then
|
|
update Tuinity ver/1.16.4
|
|
git submodule update --recursive
|
|
elif [ "$1" == "false" ]; then
|
|
if [ "$2" == "true" ]; then
|
|
git submodule update --init -f
|
|
cd "$basedir"
|
|
cd Tuinity
|
|
git clean -fx
|
|
git clean -fd
|
|
git fetch
|
|
git reset --hard origin/ver/1.16.4
|
|
git submodule update --init --recursive -f
|
|
else
|
|
updateAll
|
|
fi
|
|
else
|
|
updateAll
|
|
fi |