Compare commits

...
5 Commits
Author SHA1 Message Date
Nassim Jahnke 01cdc4416c 4.5.1 Release 2022-12-11 14:40:07 +01:00
Nassim Jahnke 7c2845b884 Fix 1.19.3 player info add 2022-12-11 14:27:41 +01:00
Nassim Jahnke 7cbfffaa68 Fix 1.19.3 sound remapping
Fix #505
2022-12-09 13:24:35 +01:00
Nassim Jahnke 0d0719040c Bump version to 4.5.1-SNAPSHOT 2022-12-09 13:17:55 +01:00
Nassim Jahnke 858fcb2b16 Thank you gradle, very cool 2022-12-09 11:19:11 +01:00
8 changed files with 15 additions and 8 deletions

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ plugins {
allprojects {
group = "com.viaversion"
version = "4.5.0"
version = "4.5.1"
description = "Allow older clients to join newer server versions."
}
@@ -104,6 +104,7 @@ public class SoundRewriter extends com.viaversion.viaversion.rewriter.SoundRewri
}
wrapper.write(Type.VAR_INT, mappedId + 1);
return;
}
// Is followed by the resource loation
@@ -105,7 +105,7 @@ public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundP
return;
}
wrapper.write(Type.VAR_INT, mappedId + 1);
wrapper.write(Type.VAR_INT, mappedId);
return;
}
@@ -138,7 +138,7 @@ public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundP
return;
}
wrapper.write(Type.VAR_INT, mappedId + 1);
wrapper.write(Type.VAR_INT, mappedId);
}
// Convert the resource location to the corresponding integer id
@@ -154,8 +154,8 @@ public final class EntityPackets1_19_3 extends EntityRewriter<Protocol1_19_1To1_
playerInfoPacket.write(Type.VAR_INT, latency);
playerInfoPacket.write(Type.OPTIONAL_COMPONENT, displayName);
playerInfoPacket.write(Type.OPTIONAL_PROFILE_KEY, profileKey);
playerInfoPacket.send(Protocol1_19_1To1_19_3.class);
}
playerInfoPacket.send(Protocol1_19_1To1_19_3.class);
return;
}
Binary file not shown.
+1
View File
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+8 -4
View File
@@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
esac
done
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
APP_NAME="Gradle"
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Vendored
+1
View File
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%