PaperMC/paper-server/patches/sources/net/minecraft/server/commands/SpreadPlayersCommand.java.patch

11 lines
420 B
Diff
Raw Normal View History

2024-12-14 22:42:43 +01:00
--- a/net/minecraft/server/commands/SpreadPlayersCommand.java
+++ b/net/minecraft/server/commands/SpreadPlayersCommand.java
@@ -255,6 +_,7 @@
entity.getYRot(),
entity.getXRot(),
true
+ , org.bukkit.event.player.PlayerTeleportEvent.TeleportCause.COMMAND // CraftBukkit - handle teleport reason
);
double d1 = Double.MAX_VALUE;