3
0
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:
Myles 2016-02-29 19:40:07 +00:00
Ursprung 546fdf95d4
Commit 122a7e05f6
4 geänderte Dateien mit 27 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -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:
--------

Datei anzeigen

@ -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);

Datei anzeigen

@ -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);

Datei anzeigen

@ -1,4 +1,4 @@
name: ViaVersion
main: us.myles.ViaVersion.Core
author: _MylesC
version: 0.1
version: 0.2