3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-20 06:50:08 +01:00

Cancel sounds properly, fixes block placing issue on bungee. Updated version to 0.4.8

Dieser Commit ist enthalten in:
Myles 2016-03-03 22:48:17 +00:00
Ursprung be6245e693
Commit 2704611977
4 geänderte Dateien mit 5 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -1,4 +1,4 @@
# ViaVersion 0.4.7 # ViaVersion 0.4.8
**Allows the connection of 1.8 clients to 1.9** **Allows the connection of 1.8 clients to 1.9**
This plugin modifies netty to allow connection of 1.9 clients to 1.8, This plugin modifies netty to allow connection of 1.9 clients to 1.8,
@ -9,7 +9,7 @@ This plugin modifies netty to allow connection of 1.9 clients to 1.8,
Attempt to make boats nicer when they don't work Attempt to make boats nicer when they don't work
Remap spawn eggs Remap potions
If you have a bug with entities, please report the full stack trace If you have a bug with entities, please report the full stack trace

Datei anzeigen

@ -5,7 +5,7 @@
<groupId>us.myles</groupId> <groupId>us.myles</groupId>
<artifactId>ViaVersion</artifactId> <artifactId>ViaVersion</artifactId>
<version>0.4.7</version> <version>0.4.8</version>
<build> <build>
<finalName>ViaVersion-${version}</finalName> <finalName>ViaVersion-${version}</finalName>
<plugins> <plugins>

Datei anzeigen

@ -204,7 +204,7 @@ public class IncomingTransformer {
// write item in hand // write item in hand
ItemStack inHand = ViaVersionPlugin.getHandItem(info); ItemStack inHand = ViaVersionPlugin.getHandItem(info);
try { try {
us.myles.ViaVersion.slot.ItemSlotRewriter.ItemStack item = us.myles.ViaVersion.slot.ItemSlotRewriter.ItemStack.fromBukkit(inHand); ItemSlotRewriter.ItemStack item = ItemSlotRewriter.ItemStack.fromBukkit(inHand);
ItemSlotRewriter.fixIdsFrom1_9To1_8(item); ItemSlotRewriter.fixIdsFrom1_9To1_8(item);
ItemSlotRewriter.writeItemStack(item, output); ItemSlotRewriter.writeItemStack(item, output);
} catch (Exception e) { } catch (Exception e) {

Datei anzeigen

@ -65,9 +65,7 @@ public class OutgoingTransformer {
String newname = name; String newname = name;
if (effect != null) { if (effect != null) {
if (effect.isBreakPlaceSound()) { if (effect.isBreakPlaceSound()) {
input.readBytes(input.readableBytes()); throw new CancelException();
output.clear();
return;
} }
catid = effect.getCategory().getId(); catid = effect.getCategory().getId();
newname = effect.getNewName(); newname = effect.getNewName();