Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix 'receives message' event for 1.19 (Paper broke it)
- Loading branch information
1 parent
ecf8b62
commit 3a74f61
Showing
6 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 9 additions & 5 deletions
14
plugin/src/main/java/com/denizenscript/denizen/nms/interfaces/packets/PacketOutChat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
package com.denizenscript.denizen.nms.interfaces.packets; | ||
|
||
public interface PacketOutChat { | ||
import java.util.function.Function; | ||
|
||
boolean isSystem(); | ||
public abstract class PacketOutChat { | ||
|
||
boolean isActionbar(); | ||
public abstract boolean isSystem(); | ||
|
||
String getMessage(); | ||
public abstract boolean isActionbar(); | ||
|
||
String getRawJson(); | ||
public abstract String getMessage(); | ||
|
||
public abstract String getRawJson(); | ||
|
||
public static Function<Object, String> convertComponentToJsonString; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters