forked from upstream/packetevents
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2916fb7112 | ||
|
|
1ca1a960b5 |
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>io.github.retrooper</groupId>
|
||||
<artifactId>packetevents</artifactId>
|
||||
<version>1.3.7.1</version>
|
||||
<version>1.3.7.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>packetevents</name>
|
||||
<properties>
|
||||
|
||||
+2
-2
@@ -46,10 +46,10 @@ public final class WrappedPacketInEntityAction extends WrappedPacket {
|
||||
final int entityId = Reflection.getField(entityActionClass, int.class, 0).getInt(packet);
|
||||
final int jumpBoost;
|
||||
if(version.isLowerThan(ServerVersion.v_1_8)) {
|
||||
jumpBoost = Reflection.getField(entityActionClass, int.class, 2).getInt(packet)
|
||||
jumpBoost = Reflection.getField(entityActionClass, int.class, 2).getInt(packet);
|
||||
}
|
||||
else {
|
||||
jumpBoost = Reflection.getField(entityActionClass, int.class, 1).getInt(packet)
|
||||
jumpBoost = Reflection.getField(entityActionClass, int.class, 1).getInt(packet);
|
||||
}
|
||||
|
||||
int animationIndex = -1;
|
||||
|
||||
Reference in new issue
Block a user