PaperMC/paper-server/patches/sources/net/minecraft/server/commands/SpreadPlayersCommand.java.patch
2024-12-14 13:42:45 -08:00

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