mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
fabric: Update to 1.20.2 (#499)
This commit is contained in:
1 parent
a871d5c1a6
commit
93eedc1b2b
2 files changed
+9
-9
No files matched your search
@@ -24,7 +24,7 @@ import net.fabricmc.fabric.api.dimension.v1.FabricDimensions;
|
||||
import net.fabricmc.fabric.api.networking.v1.PacketByteBufs;
|
||||
import net.kyori.adventure.audience.Audience;
|
||||
import net.minecraft.network.PacketByteBuf;
|
||||
import net.minecraft.network.packet.s2c.play.CustomPayloadS2CPacket;
|
||||
import net.minecraft.network.packet.s2c.common.CustomPayloadS2CPacket;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.util.Identifier;
|
||||
@@ -151,9 +151,9 @@ public class FabricUser extends OnlineUser {
|
||||
@Override
|
||||
public void sendPluginMessage(@NotNull String channel, byte[] message) {
|
||||
final PacketByteBuf buf = PacketByteBufs.create();
|
||||
buf.writeIdentifier(parseIdentifier(channel));
|
||||
buf.writeBytes(message);
|
||||
final CustomPayloadS2CPacket packet = new CustomPayloadS2CPacket(parseIdentifier(channel), buf);
|
||||
player.networkHandler.sendPacket(packet);
|
||||
player.networkHandler.sendPacket(new CustomPayloadS2CPacket(buf));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+6
-6
@@ -3,7 +3,7 @@ javaVersion=16
|
||||
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
|
||||
org.gradle.daemon=true
|
||||
|
||||
plugin_version=4.5
|
||||
plugin_version=4.5.1
|
||||
plugin_archive=huskhomes
|
||||
plugin_description=The powerful and intuitive homes, warps, and teleports plugin/mod
|
||||
|
||||
@@ -18,10 +18,10 @@ mariadb_driver_version=3.1.4
|
||||
# Fabric settings
|
||||
fabric_loom_version=1.3-SNAPSHOT
|
||||
|
||||
fabric_minecraft_version=1.20.1
|
||||
fabric_loader_version=0.14.21
|
||||
fabric_yarn_mappings=1.20.1+build.2
|
||||
fabric_api_version=0.83.1+1.20.1
|
||||
fabric_minecraft_version=1.20.2
|
||||
fabric_loader_version=0.14.22
|
||||
fabric_yarn_mappings=1.20.2+build.1
|
||||
fabric_api_version=0.89.2+1.20.2
|
||||
|
||||
fabric_permissions_api_version=0.2-SNAPSHOT
|
||||
adventure_platform_fabric_version=5.9.0
|
||||
adventure_platform_fabric_version=5.10.0
|
||||
Reference in new issue
Block a user