mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 08:57:44 +01:00
Fix mounting and WASD controls on Ender Dragon
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 8bca0822c07fd0b8f61319668c78a26c4c37eb98 Mon Sep 17 00:00:00 2001
|
||||
From fe7a867041542145cc9fb41d1016040fe8f64800 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Thu, 8 Aug 2019 15:29:15 -0500
|
||||
Subject: [PATCH] Implement AFK API
|
||||
@@ -17,10 +17,10 @@ Subject: [PATCH] Implement AFK API
|
||||
10 files changed, 112 insertions(+), 24 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||
index 44ae05b8a2..4358505dc2 100644
|
||||
index b8959e005f..d38bbf6a4e 100644
|
||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||
@@ -1373,6 +1373,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||
@@ -1374,6 +1374,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||
return MathHelper.c(f * f + f1 * f1 + f2 * f2);
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ index 874b8c1292..567b297e05 100644
|
||||
} else if (entityplayer.isSleeping()) {
|
||||
++j;
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index c76363c529..c53b07adf6 100644
|
||||
index 2bbbf30c0d..95f1dcf0d7 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -147,6 +147,21 @@ public class PurpurWorldConfig {
|
||||
|
||||
Reference in New Issue
Block a user