Archiviert
13
0

Patch files need headers, weird isn't it

Dieser Commit ist enthalten in:
Zach Brown 2017-09-28 18:43:36 -04:00
Ursprung febbd49147
Commit 56e3c7f06c

Datei anzeigen

@ -1,10 +1,14 @@
From 00743ab18f54c5f7fdf15706859f2803dbba1a6b Mon Sep 17 00:00:00 2001 From 223286914a3ba1db3336c6f2b385158e0ce65301 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com> From: Zach Brown <zach.brown@destroystokyo.com>
Date: Thu, 28 Sep 2017 17:21:44 -0400 Date: Thu, 28 Sep 2017 17:21:44 -0400
Subject: [PATCH] Add PlayerJumpEvent Subject: [PATCH] Add PlayerJumpEvent
@@ -584,7 +585,34 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable { diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 760cb16c3..8c9467302 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -584,7 +584,34 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
d8 = d5 - this.p; d8 = d5 - this.p;
d9 = d6 - this.q; d9 = d6 - this.q;
if (this.player.onGround && !packetplayinflying.a() && d8 > 0.0D) { if (this.player.onGround && !packetplayinflying.a() && d8 > 0.0D) {