mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-01 00:10:12 +01:00
Update to 24w03b
This commit is contained in:
parent
8356a0d52e
commit
3a0f1778d2
@ -8,9 +8,9 @@ dependencies {
|
||||
|
||||
shadow "net.playeranalytics:platform-abstraction-layer-api:$palVersion"
|
||||
|
||||
minecraft "com.mojang:minecraft:1.20.4"
|
||||
mappings "net.fabricmc:yarn:1.20.4+build.3:v2"
|
||||
modImplementation "net.fabricmc:fabric-loader:0.15.2"
|
||||
minecraft "com.mojang:minecraft:24w03b"
|
||||
mappings "net.fabricmc:yarn:24w03b+build.6:v2"
|
||||
modImplementation "net.fabricmc:fabric-loader:0.15.6"
|
||||
modImplementation('me.lucko:fabric-permissions-api:0.3-SNAPSHOT')
|
||||
|
||||
// Fabric API
|
||||
|
@ -27,7 +27,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
@Mixin(ServerHandshakeNetworkHandler.class)
|
||||
public class ClientToServerHandshakePacketMixin {
|
||||
|
||||
@Inject(method = "onHandshake", at = @At(value = "INVOKE", ordinal = 0, target = "Lnet/minecraft/network/ClientConnection;setPacketListener(Lnet/minecraft/network/listener/PacketListener;)V"))
|
||||
@Inject(method = "onHandshake", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;login(Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;Z)V"))
|
||||
public void onClientHandshakeFromNetwork(HandshakeC2SPacket packet, CallbackInfo ci) {
|
||||
PlanFabricEvents.ON_HANDSHAKE.invoker().onHandshake(packet);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user