Added Step to handler that allows users to stop the message from beeing sent and prepare some data.
This commit is contained in:
parent
132623419d
commit
742ea56e34
5 changed files with 58 additions and 25 deletions
|
@ -29,7 +29,7 @@ public class RequestFiles extends DataHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void serializeData(FriendlyByteBuf buf) {
|
||||
protected void serializeData(FriendlyByteBuf buf, boolean isClient) {
|
||||
newToken();
|
||||
writeString(buf, currentToken);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue