diff options
Diffstat (limited to 'Spigot-Server-Patches/0150-More-informative-vehicle-moved-wrongly-message.patch')
-rw-r--r-- | Spigot-Server-Patches/0150-More-informative-vehicle-moved-wrongly-message.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0150-More-informative-vehicle-moved-wrongly-message.patch b/Spigot-Server-Patches/0150-More-informative-vehicle-moved-wrongly-message.patch new file mode 100644 index 0000000000..f720c1aea9 --- /dev/null +++ b/Spigot-Server-Patches/0150-More-informative-vehicle-moved-wrongly-message.patch @@ -0,0 +1,22 @@ +From 8fa14bdc0cab3b0e51f4255fb748ba1a5305cf13 Mon Sep 17 00:00:00 2001 +From: Zach Brown <[email protected]> +Date: Thu, 28 Jul 2016 17:58:53 -0500 +Subject: [PATCH] More informative vehicle moved wrongly message + + +diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java +index dfbae01f4..4b79031f0 100644 +--- a/src/main/java/net/minecraft/server/PlayerConnection.java ++++ b/src/main/java/net/minecraft/server/PlayerConnection.java +@@ -343,7 +343,7 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable { + + if (d10 > org.spigotmc.SpigotConfig.movedWronglyThreshold) { // Spigot + flag1 = true; +- PlayerConnection.LOGGER.warn("{} moved wrongly!", new Object[] { entity.getName()}); ++ PlayerConnection.LOGGER.warn(entity.getName() + " (vehicle of " + this.player.getName() + ") moved wrongly!"); // Paper - More informative + } + + entity.setLocation(d3, d4, d5, f, f1); +-- +2.12.2 + |