Post merge fixes for 1.20.1
This commit is contained in:
parent
6153c2e972
commit
34b60be434
@ -54,7 +54,7 @@ abstract class MatteryNetworkChannel(val version: Int, val name: String) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
channel.send(packet, PacketDistributor.TRACKING_ENTITY.with(entity))
|
channel.send(PacketDistributor.TRACKING_ENTITY.with { entity }, packet)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun sendTrackingAndSelf(entity: Entity, packet: Any) {
|
fun sendTrackingAndSelf(entity: Entity, packet: Any) {
|
||||||
@ -62,7 +62,7 @@ abstract class MatteryNetworkChannel(val version: Int, val name: String) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
channel.send(packet, PacketDistributor.TRACKING_ENTITY_AND_SELF.with(entity))
|
channel.send(PacketDistributor.TRACKING_ENTITY_AND_SELF.with { entity }, packet)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun send(distributor: PacketDistributor.PacketTarget, packet: Any) {
|
fun send(distributor: PacketDistributor.PacketTarget, packet: Any) {
|
||||||
|
Loading…
Reference in New Issue
Block a user