-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c3b1aa
commit bcbd8f6
Showing
9 changed files
with
18 additions
and
61 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
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
11 changes: 2 additions & 9 deletions
11
...main/java/me/senseiwells/replay/mixin/compat/syncmatica/SyncmaticaPacketPayloadMixin.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,21 +1,14 @@ | ||
package me.senseiwells.replay.mixin.compat.syncmatica; | ||
|
||
import ch.endte.syncmatica.network.SyncmaticaPacket; | ||
import ch.endte.syncmatica.network.SyncmaticaPayload; | ||
import me.senseiwells.replay.api.network.RecordablePayload; | ||
import net.minecraft.network.FriendlyByteBuf; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
|
||
@Mixin(SyncmaticaPacket.Payload.class) | ||
@Mixin(SyncmaticaPayload.class) | ||
@SuppressWarnings("AddedMixinMembersNamePattern") | ||
public class SyncmaticaPacketPayloadMixin implements RecordablePayload { | ||
@Override | ||
public boolean shouldRecord() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public void record(@NotNull FriendlyByteBuf buf) { | ||
|
||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
src/main/java/me/senseiwells/replay/mixin/network/IdDispatchCodecAccessor.java
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
src/main/java/me/senseiwells/replay/mixin/rejoin/ConnectionAccessor.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package me.senseiwells.replay.mixin.rejoin; | ||
|
||
import net.minecraft.network.Connection; | ||
import net.minecraft.network.PacketListener; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
@Mixin(Connection.class) | ||
public interface ConnectionAccessor { | ||
@Accessor("packetListener") | ||
void setPacketListener(PacketListener listener); | ||
} |
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
28 changes: 0 additions & 28 deletions
28
src/main/kotlin/me/senseiwells/replay/compat/voicechat/VoicechatPayload.kt
This file was deleted.
Oops, something went wrong.
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