Update the version number and the in game warning message

This commit is contained in:
James Seibel
2021-11-20 20:38:51 -06:00
parent f2010b7c7d
commit 8d7ce1b85f
6 changed files with 7 additions and 8 deletions
Binary file not shown.
+1 -1
View File
@@ -21,7 +21,7 @@ apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
version = 'a1.5.2'
version = 'a1.5.3'
group = 'com.seibel.lod'
archivesBaseName = 'Distant-Horizons_1.16.5'
@@ -38,5 +38,5 @@ public final class ModInfo
/** Human readable version of NAME */
public static final String READABLE_NAME = "Distant Horizons";
public static final String API = "LodAPI";
public static final String VERSION = "a1.5.2";
public static final String VERSION = "a1.5.3";
}
@@ -25,7 +25,7 @@ import com.seibel.lod.core.objects.lod.LodWorld;
/**
* This stores objects and variables that
* are shared between the different LodApi classes.
* are shared between the different Core api classes.
*
* @author James Seibel
* @version 11-12-2021
@@ -136,11 +136,10 @@ public class ClientApi
// remind the developer(s) that the config override is active
if (!configOverrideReminderPrinted)
{
// TODO add a send message method to the MC wrapper
// mc.getPlayer().sendMessage(new StringTextComponent("LOD experimental build 1.5.1"), mc.getPlayer().getUUID());
// mc.getPlayer().sendMessage(new StringTextComponent("Here be dragons!"), mc.getPlayer().getUUID());
MC.sendChatMessage(ModInfo.READABLE_NAME + " experimental build " + ModInfo.VERSION);
MC.sendChatMessage("You are running a unsupported version of the mod!");
MC.sendChatMessage("Here be dragons!");
MC.sendChatMessage("Debug settings enabled!");
configOverrideReminderPrinted = true;
}
+1 -1
View File
@@ -24,7 +24,7 @@ modId="lod" #mandatory
#// The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
#//${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata
#// see the associated build.gradle script for how to populate this completely automatically during a build
version="a1.5.2" #mandatory
version="a1.5.3" #mandatory
#// A display name for the mod
displayName="Distant Horizons" #mandatory