0
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-31 12:01:22 +00:00
Paper/paper-server/patches/sources/net/minecraft/server/commands/SpreadPlayersCommand.java.patch
2024-12-14 13:42:45 -08:00

11 lines
420 B
Diff

--- 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;