Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
611a0ee52d
This reverts commit e38eceb42a
.
25 Zeilen
1.2 KiB
Diff
25 Zeilen
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 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 f04e0dbe544b5dc0e40e37c4159a4f26fa149845..9bc21ef8a1f366f77ceb31b8bd01e6cc6b8a17a5 100644
|
|
--- a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
|
+++ b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
|
@@ -62,9 +62,9 @@ public abstract class EntityMinecartAbstract extends Entity {
|
|
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
|
|
|