Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-25 15:50:10 +01:00
Cancel sounds properly, fixes block placing issue on bungee. Updated version to 0.4.8
Dieser Commit ist enthalten in:
Ursprung
be6245e693
Commit
2704611977
@ -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
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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) {
|
||||||
|
@ -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();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren