aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch
diff options
context:
space:
mode:
authorAikar <[email protected]>2020-08-02 01:39:36 -0400
committerAikar <[email protected]>2020-08-02 01:39:36 -0400
commit9788250b1090713057c6ca39827f52c463fee11c (patch)
tree9cb7add4dc5610a8eb779f6715ae79cc698e65d9 /Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch
parent58a745eba0beeec4f080256330261c505b8e1a66 (diff)
downloadPaper-9788250b1090713057c6ca39827f52c463fee11c.tar.gz
Paper-9788250b1090713057c6ca39827f52c463fee11c.zip
Clean up a lot of obfuscation helpers and impls
This fixes a bug with obfuscation helpers for attack cooldown But every other change should stay the same. Cleaning up a lot of helpers that pointed to already unobfuscated items. Also adds final to many of the obfhelpers to assist with inlining. This is pretty much a patch maintenance
Diffstat (limited to 'Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch')
-rw-r--r--Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch b/Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch
index 80436106a1..c5fd5518e0 100644
--- a/Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch
+++ b/Spigot-Server-Patches/0413-Bees-get-gravity-in-void.-Fixes-MC-167279.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Bees get gravity in void. Fixes MC-167279
diff --git a/src/main/java/net/minecraft/server/ControllerMove.java b/src/main/java/net/minecraft/server/ControllerMove.java
-index f2d2d04fe16bc091a971c8c90db56e6cd2799555..ac6f9d9e5252b819f91703ad6aeaae3d580eeca0 100644
+index f2d2d04fe16bc091a971c8c90db56e6cd2799555..6393ff765f12db2911e2eaba800104b7539c290a 100644
--- a/src/main/java/net/minecraft/server/ControllerMove.java
+++ b/src/main/java/net/minecraft/server/ControllerMove.java
@@ -2,7 +2,7 @@ package net.minecraft.server;
@@ -13,7 +13,7 @@ index f2d2d04fe16bc091a971c8c90db56e6cd2799555..ac6f9d9e5252b819f91703ad6aeaae3d
public class ControllerMove {
- protected final EntityInsentient a;
-+ protected final EntityInsentient a; public EntityInsentient getEntity() { return a; } // Paper - OBFHELPER
++ protected final EntityInsentient a; public final EntityInsentient getEntity() { return a; } // Paper - OBFHELPER
protected double b;
protected double c;
protected double d;