From 0d2b71039e917fcc3703bb019786dc9e818212b9 Mon Sep 17 00:00:00 2001 From: Aikar Date: Thu, 1 Nov 2018 20:16:12 -0400 Subject: [PATCH] Fix compile --- .../0403-Optimize-Small-Entity-Movement.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-Server-Patches/0403-Optimize-Small-Entity-Movement.patch b/Spigot-Server-Patches/0403-Optimize-Small-Entity-Movement.patch index ad1b3cafb7..b6bec03679 100644 --- a/Spigot-Server-Patches/0403-Optimize-Small-Entity-Movement.patch +++ b/Spigot-Server-Patches/0403-Optimize-Small-Entity-Movement.patch @@ -42,7 +42,7 @@ index 32b90f30d9..6023824e3d 100644 + protected double pendingX = 0D; + protected double pendingY = 0D; + protected double pendingZ = 0D; -+ public boolean shouldMergeMovement(int mergeMin, double d0, double d1, double d2) { ++ public boolean shouldMergeMovement(double mergeMin, double d0, double d1, double d2) { + return d0 * d0 < mergeMin && d1 * d1 < mergeMin && d2 * d2 < mergeMin; + } + // Paper end @@ -101,7 +101,7 @@ index e63f4afa9b..1941faaebd 100644 // Paper start + @Override -+ public boolean shouldMergeMovement(int mergeMin, double d0, double d1, double d2) { ++ public boolean shouldMergeMovement(double mergeMin, double d0, double d1, double d2) { + // Slimes have weird movement bugs when a move is skipped, ideally we can fix this and fix that state + return false; + }