geforkt von Mirrors/Paper
928bcc8d3a
Upstream has released updates that appear 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: 09943450 Update SnakeYAML version 5515734f SPIGOT-7162: Incorrect description for Entity#getVehicle javadoc 6f82b381 PR-788: Add getHand() to all relevant events CraftBukkit Changes: aaf484f6f SPIGOT-7163: CraftMerchantRecipe doesn't copy demand and specialPrice from BukkitMerchantRecipe 5329dd6fd PR-1107: Add getHand() to all relevant events 93061706e SPIGOT-7045: Ocelots never spawn with babies with spawn reason OCELOT_BABY
25 Zeilen
1.3 KiB
Diff
25 Zeilen
1.3 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/world/entity/vehicle/AbstractMinecart.java b/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
|
|
index a21bd9753ee9e86b33a66925c05e8494196729be..7d60f56b2e8206e8e546abdd06ea74a2ead6e75d 100644
|
|
--- a/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
|
|
+++ b/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
|
|
@@ -103,9 +103,9 @@ public abstract class AbstractMinecart 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
|
|
|