0318e62b45
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 0969eedc Clarify furnace burn time behaviour as per SPIGOT-844 16453bfd SPIGOT-4503: Add API to insert complete ItemStack into Jukebox CraftBukkit Changes: dff66dfc Reduce copying of positions from block states 91cae6ef SPIGOT-4387: Durability looping from cancelled BlockPlaceEvent 24c5e68c SPIGOT-4493: Allow burnt out furnaces to remain lit like Vanilla whilst retaining SPIGOT-844 API bc943daf Fix Jukebox API not synchronizing playing data with state fe89a8c1 SPIGOT-4503: Add API to insert complete ItemStack into Jukebox fc102494 Make CraftBlockState use BlockPosition 89ab4887 SPIGOT-4543: Jukebox playing calls should not use legacy data 6ff5a64c SPIGOT-4541: Cancelled bucket events require inventory update
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
From 1edca875cbb3d3715f715b7714866b2b9b9cd3cf Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Thu, 8 Nov 2018 21:33:09 -0500
|
|
Subject: [PATCH] Use Vanilla Minecart Speeds
|
|
|
|
CraftBukkit changed the values on flying speed, restore back to vanilla
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
|
index e741c7f83..6d21527ea 100644
|
|
--- a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
|
+++ b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
|
@@ -39,9 +39,9 @@ public abstract class EntityMinecartAbstract extends Entity implements INamableT
|
|
private double derailedX = 0.5;
|
|
private double derailedY = 0.5;
|
|
private double derailedZ = 0.5;
|
|
- private double flyingX = 0.95;
|
|
- private double flyingY = 0.95;
|
|
- private double flyingZ = 0.95;
|
|
+ private double flyingX = 0.949999988079071D; // Paper - restore vanilla precision
|
|
+ private double flyingY = 0.949999988079071D; // Paper - restore vanilla precision
|
|
+ private double flyingZ = 0.949999988079071D; // Paper - restore vanilla precision
|
|
public double maxSpeed = 0.4D;
|
|
// CraftBukkit end
|
|
|
|
--
|
|
2.20.1
|
|
|