Skip to content

Commit

Permalink
Bump to 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pop4959 committed Dec 8, 2024
1 parent 09cc15c commit 0aaa00a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ subprojects {
plugins.apply("java-library")

group = "ru.bk.oharass.freedomchat"
version = "1.7.1"
version = "1.7.2"
description = "Liberate your server from the chat-reporting bourgeoisie! Disable chat signing server-side."

tasks {
Expand Down
6 changes: 3 additions & 3 deletions fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ repositories {
}

dependencies {
minecraft(group = "com.mojang", name = "minecraft", version = "1.21.3")
mappings(group = "net.fabricmc", name = "yarn", version = "1.21.3+build.2", classifier = "v2")
minecraft(group = "com.mojang", name = "minecraft", version = "1.21.4")
mappings(group = "net.fabricmc", name = "yarn", version = "1.21.4+build.1", classifier = "v2")
modImplementation(group = "net.fabricmc", name = "fabric-loader", version = "0.16.9")
modImplementation(group = "net.fabricmc.fabric-api", name = "fabric-api", version = "0.107.0+1.21.3")
modImplementation(group = "net.fabricmc.fabric-api", name = "fabric-api", version = "0.111.0+1.21.4")
shade(implementation(group = "org.spongepowered", name = "configurate-yaml", version = "4.1.2"))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class FreedomChat implements ModInitializer {
public void onInitialize() {
ServerLifecycleEvents.SERVER_STARTED.register(server -> {
this.server = server;
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && SharedConstants.getProtocolVersion() != 768) {
logger.warn("This version of FreedomChat only supports protocol version 768 (1.21.3). Please use the appropriate version of FreedomChat for your server");
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && SharedConstants.getProtocolVersion() != 769) {
logger.warn("This version of FreedomChat only supports protocol version 769 (1.21.4). Please use the appropriate version of FreedomChat for your server");
logger.warn("If you know what you are doing, set the im.evan.freedomchat.bypassprotocolcheck system property to true to bypass this check");
return;
}
Expand Down
4 changes: 2 additions & 2 deletions paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ plugins {
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION

dependencies {
paperweight.paperDevBundle("1.21.3-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.21.4-R0.1-SNAPSHOT")
}

tasks {
runServer {
minecraftVersion("1.21.3")
minecraftVersion("1.21.4")
}

processResources {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class FreedomChat extends JavaPlugin implements Listener {

@Override
public void onEnable() {
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && this.getServer().getUnsafe().getProtocolVersion() != 768) {
getLogger().warning("This version of FreedomChat only supports protocol version 768 (1.21.3). Please use the appropriate version of FreedomChat for your server");
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && this.getServer().getUnsafe().getProtocolVersion() != 769) {
getLogger().warning("This version of FreedomChat only supports protocol version 769 (1.21.4). Please use the appropriate version of FreedomChat for your server");
getLogger().warning("If you know what you are doing, set the im.evan.freedomchat.bypassprotocolcheck system property to true to bypass this check");
this.getServer().getPluginManager().disablePlugin(this);
return;
Expand Down

0 comments on commit 0aaa00a

Please sign in to comment.