Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-04 23:30:24 +01:00
Fix signs also bump version to 0.2
Dieser Commit ist enthalten in:
Ursprung
546fdf95d4
Commit
122a7e05f6
10
README.md
10
README.md
@ -1,17 +1,15 @@
|
||||
# ViaVersion
|
||||
# ViaVersion 0.2
|
||||
**Allows the connection of 1.8 clients to 1.9**
|
||||
|
||||
This plugin modifies netty to allow connection of 1.9 clients to 1.8,
|
||||
|
||||
**Don't use late bind**
|
||||
|
||||
**As of this point it is not finished, I need to fix:**
|
||||
|
||||
Entity Movement Sync (Teleporting)
|
||||
**As of this point it doesn't have everything, I need to fix:**
|
||||
|
||||
Attempt to make boats nicer when they don't work
|
||||
|
||||
Use reflection more.
|
||||
Remap spawn eggs
|
||||
|
||||
|
||||
|
||||
@ -27,6 +25,8 @@ Credits:
|
||||
|
||||
**Myself** (harhar)
|
||||
|
||||
**Matsv** (Movement Fix)
|
||||
|
||||
|
||||
License:
|
||||
--------
|
||||
|
@ -66,6 +66,16 @@ public class IncomingTransformer {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (packet == PacketType.PLAY_UPDATE_SIGN_REQUEST) {
|
||||
Long location = input.readLong();
|
||||
output.writeLong(location);
|
||||
for (int i = 0; i < 4; i++) {
|
||||
String line = PacketUtil.readString(input);
|
||||
line = "{\"text\":\"" + line + "\"}";
|
||||
PacketUtil.writeString(line, output);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (packet == PacketType.PLAY_TAB_COMPLETE_REQUEST) {
|
||||
String text = PacketUtil.readString(input);
|
||||
PacketUtil.writeString(text, output);
|
||||
|
@ -270,6 +270,17 @@ public class OutgoingTransformer {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(packet == PacketType.PLAY_UPDATE_SIGN){
|
||||
Long location = input.readLong();
|
||||
output.writeLong(location);
|
||||
for(int i = 0;i<4;i++){
|
||||
String line = PacketUtil.readString(input);
|
||||
if(line.startsWith("\"")){
|
||||
line = "{\"text\":" + line + "}";
|
||||
}
|
||||
PacketUtil.writeString(line, output);
|
||||
}
|
||||
}
|
||||
if (packet == PacketType.PLAY_SPAWN_PLAYER) {
|
||||
int id = PacketUtil.readVarInt(input);
|
||||
PacketUtil.writeVarInt(id, output);
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: ViaVersion
|
||||
main: us.myles.ViaVersion.Core
|
||||
author: _MylesC
|
||||
version: 0.1
|
||||
version: 0.2
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren