Skip to content

Commit

Permalink
Fix wither
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxplay committed Jan 11, 2025
1 parent fe6abe1 commit e8e5a02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ when if this was fixed on the client, that wouldn't be needed.
Mojira Issue: https://bugs.mojang.com/browse/MC-235045

diff --git a/net/minecraft/commands/CommandSourceStack.java b/net/minecraft/commands/CommandSourceStack.java
index 2c6469fd0715217b784680064083b386d723e559..e17ddd3351faa623084ddab9878d78f9108a3d82 100644
index cf923441da598637be74a5ffa4b4f948e01ff532..cbf32be9235921ebcaca88225120c2ca70a72771 100644
--- a/net/minecraft/commands/CommandSourceStack.java
+++ b/net/minecraft/commands/CommandSourceStack.java
@@ -671,4 +671,20 @@ public class CommandSourceStack implements ExecutionCommandSource<CommandSourceS
@@ -676,4 +676,20 @@ public class CommandSourceStack implements ExecutionCommandSource<CommandSourceS
return this.source.getBukkitSender(this);
}
// CraftBukkit end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

public CommandSourceStack(
CommandSource source,
@@ -187,6 +_,25 @@
@@ -187,6 +_,30 @@
this.chatMessageChainer
);
}
Expand All @@ -37,7 +37,12 @@
+ this.textName,
+ this.displayName,
+ this.server,
+ this.entity
+ this.entity,
+ this.silent,
+ this.resultCallback,
+ this.anchor,
+ this.signingContext,
+ this.chatMessageChainer
+ );
+ }
+ // Paper end - Expose 'with' functions from the CommandSourceStack
Expand Down

0 comments on commit e8e5a02

Please sign in to comment.