From 4ff646e99beaa489dc7485b36a41d2b7a646158c Mon Sep 17 00:00:00 2001 From: Oth3r <68134921+Oth3r@users.noreply.github.com> Date: Tue, 20 May 2025 13:02:02 -0500 Subject: [PATCH] 1.20.1 backport --- src/main/java/one/oth3r/sit/utl/Events.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/one/oth3r/sit/utl/Events.java b/src/main/java/one/oth3r/sit/utl/Events.java index 190a49b..ccd414f 100644 --- a/src/main/java/one/oth3r/sit/utl/Events.java +++ b/src/main/java/one/oth3r/sit/utl/Events.java @@ -191,7 +191,7 @@ public class Events { if (result.equals(ActionResult.CONSUME)) { try { - CommandDispatcher dispatcher = Data.getServer().getCommandSource().getDispatcher(); + CommandDispatcher dispatcher = Data.getServer().getCommandManager().getDispatcher(); ParseResults parse = dispatcher.parse("sit", player.getCommandSource()); dispatcher.execute(parse); } catch (CommandSyntaxException e) {