Skip to content

Commit

Permalink
updated upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
TrainmasterHD committed Jan 27, 2025
1 parent c7b57c1 commit 15bfe50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/net/minecraft/server/network/ServerGamePacketListenerImpl.java
@@ -2130,12 +_,23 @@
@@ -2137,12 +_,23 @@
}

@Override
Expand All @@ -25,7 +25,7 @@
// CraftBukkit end
Optional<LastSeenMessages> optional = this.unpackAndApplyLastSeen(packet.lastSeenMessages());
if (!optional.isEmpty()) {
@@ -2148,6 +_,13 @@
@@ -2155,6 +_,13 @@
return;
}

Expand All @@ -39,7 +39,7 @@
CompletableFuture<FilteredText> completableFuture = this.filterTextPacket(signedMessage.signedContent()).thenApplyAsync(Function.identity(), this.server.chatExecutor); // CraftBukkit - async chat
CompletableFuture<Component> componentFuture = this.server.getChatDecorator().decorate(this.player, null, signedMessage.decoratedContent()); // Paper - Adventure

@@ -2200,8 +_,23 @@
@@ -2207,8 +_,23 @@

@Override
public void handleSignedChatCommand(ServerboundChatCommandSignedPacket packet) {
Expand All @@ -63,7 +63,7 @@
this.tryHandleChat(packet.command(), () -> {
// CraftBukkit start - SPIGOT-7346: Prevent disconnected players from executing commands
if (this.player.hasDisconnected()) {
@@ -2310,9 +_,20 @@
@@ -2317,9 +_,20 @@
return new SignedMessageChain.DecodeException(INVALID_COMMAND_SIGNATURE);
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group=net.gommehd.cheetah
version=1.21.4-R0.1-SNAPSHOT
mcVersion=1.21.4
paperRef=73f7736eb93a64cc0270929cb01992404696d66d
paperRef=7e21cb818132116efc5305777eb6d72f07431294

org.gradle.configuration-cache=true
org.gradle.caching=true
Expand Down

0 comments on commit 15bfe50

Please sign in to comment.