Skip to content

Commit 30fa58a

Browse files
Fix boat y offset in 1.9->1.8
1 parent 52b6aed commit 30fa58a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

common/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
compileOnly("io.netty:netty-all:4.0.20.Final")
1111
compileOnly("com.google.guava:guava:17.0")
1212

13-
viaProxy("net.raphimc:ViaProxy:3.4.5-SNAPSHOT") {
13+
viaProxy("net.raphimc:ViaProxy:3.4.6-SNAPSHOT") {
1414
isTransitive = false
1515
}
1616
}

common/src/main/java/com/viaversion/viarewind/protocol/v1_9to1_8/rewriter/EntityPacketRewriter1_9.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void register() {
118118
wrapper.set(Types.BYTE, 1, yaw);
119119

120120
int y = wrapper.get(Types.INT, 1);
121-
y += 10;
121+
y += 6;
122122
wrapper.set(Types.INT, 1, y);
123123
}
124124

@@ -366,7 +366,7 @@ public void register() {
366366
yaw -= 64;
367367
wrapper.set(Types.BYTE, 0, yaw);
368368
int y = wrapper.get(Types.INT, 1);
369-
y += 10;
369+
y += 6;
370370
wrapper.set(Types.INT, 1, y);
371371
}
372372
});
@@ -464,7 +464,7 @@ public void register() {
464464
wrapper.set(Types.BYTE, 0, yaw);
465465

466466
int y = wrapper.get(Types.INT, 1);
467-
y += 10;
467+
y += 6;
468468
wrapper.set(Types.INT, 1, y);
469469
}
470470
tracker.resetEntityOffset(entityId);

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pluginManagement {
55
}
66

77
plugins {
8-
id("de.florianmichael.baseproject.BaseProject") version "1.2.3"
8+
id("de.florianmichael.baseproject.BaseProject") version "1.2.4"
99
id("io.papermc.hangar-publish-plugin") version "0.1.3"
1010
id("net.raphimc.class-token-replacer") version "1.1.7"
1111
id("com.modrinth.minotaur") version "2.+"

0 commit comments

Comments
 (0)