Fix build
Dieser Commit ist enthalten in:
Ursprung
142fc0d3c5
Commit
7b9c5a7c49
@ -1,14 +1,22 @@
|
||||
From 223286914a3ba1db3336c6f2b385158e0ce65301 Mon Sep 17 00:00:00 2001
|
||||
From 351c9bf5343039db037847212d2f4e3489933612 Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||
Date: Thu, 28 Sep 2017 17:21:44 -0400
|
||||
Subject: [PATCH] Add PlayerJumpEvent
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 760cb16c3..8c9467302 100644
|
||||
index 760cb16c3..f6c33b61f 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 {
|
||||
@@ -57,6 +57,7 @@ import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.bukkit.inventory.InventoryView;
|
||||
import org.bukkit.util.NumberConversions;
|
||||
import com.destroystokyo.paper.event.player.IllegalPacketEvent; // Paper
|
||||
+import com.destroystokyo.paper.event.player.PlayerJumpEvent; // Paper
|
||||
import co.aikar.timings.MinecraftTimings; // Paper
|
||||
// CraftBukkit end
|
||||
|
||||
@@ -584,7 +585,34 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
|
||||
d8 = d5 - this.p;
|
||||
d9 = d6 - this.q;
|
||||
if (this.player.onGround && !packetplayinflying.a() && d8 > 0.0D) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren