diff options
author | Reflex18 <127531099+Reflex18@users.noreply.github.com> | 2024-02-29 05:14:20 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 20:14:20 +0100 |
commit | dfe9319d6bb1befe4e6338d0f8f5f9ddd05a991c (patch) | |
tree | 2336c915ab99470d076fad62518511a5107bf900 | |
parent | 3ecc0cdab0584c4af7607d5a814c240136178aae (diff) | |
download | GT5-Unofficial-dfe9319d6bb1befe4e6338d0f8f5f9ddd05a991c.tar.gz GT5-Unofficial-dfe9319d6bb1befe4e6338d0f8f5f9ddd05a991c.tar.bz2 GT5-Unofficial-dfe9319d6bb1befe4e6338d0f8f5f9ddd05a991c.zip |
Fixing power checks from telsa tower (#271)
changed check to 10 ticks from 10 seconds to fix power failing on server starting.
-rw-r--r-- | gradle.properties | 11 | ||||
-rw-r--r-- | settings.gradle | 2 | ||||
-rw-r--r-- | src/main/java/com/github/technus/tectech/thing/cover/GT_Cover_TM_TeslaCoil.java | 4 |
3 files changed, 9 insertions, 8 deletions
diff --git a/gradle.properties b/gradle.properties index 8e3f96603d..6660b852e1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ gtnh.settings.blowdryerTag = 0.2.0 # Human-readable mod name, available for mcmod.info population. -modName = TecTech - Tec Technology! +modName = TecTech - Tec Technology\! # Case-sensitive identifier string, available for mcmod.info population and used for automatic mixin JSON generation. # Conventionally lowercase. @@ -33,7 +33,7 @@ channel = stable mappingsVersion = 12 # Defines other MCP mappings for dependency deobfuscation. -remoteMappings = https://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/ +remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/ # Select a default username for testing your mod. You can always override this per-run by running # `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE. @@ -61,6 +61,9 @@ gradleTokenModId = # [DEPRECATED] Mod name replacement token. gradleTokenModName = +# [DEPRECATED] Mod Group replacement token. +gradleTokenGroupName = + # [DEPRECATED] # Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java # public static final String VERSION = "GRADLETOKEN_VERSION"; @@ -123,7 +126,7 @@ includeWellKnownRepositories = true usesMavenPublishing = true # Maven repository to publish the mod to. -# mavenPublishUrl = https://nexus.gtnewhorizons.com/repository/releases/ +# mavenPublishUrl = https\://nexus.gtnewhorizons.com/repository/releases/ # Publishing to Modrinth requires you to set the MODRINTH_TOKEN environment variable to your current Modrinth API token. # @@ -187,5 +190,3 @@ customArchiveBaseName = TecTech # This is meant to be set in $HOME/.gradle/gradle.properties. # ideaCheckSpotlessOnBuild = true -# Non-GTNH properties -gradleTokenGroupName = diff --git a/settings.gradle b/settings.gradle index 3b6c62d046..16a5b4ca7d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,7 +17,7 @@ pluginManagement { } plugins { - id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.9' + id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.14' } diff --git a/src/main/java/com/github/technus/tectech/thing/cover/GT_Cover_TM_TeslaCoil.java b/src/main/java/com/github/technus/tectech/thing/cover/GT_Cover_TM_TeslaCoil.java index dd3cc52cb6..7fab22c9b2 100644 --- a/src/main/java/com/github/technus/tectech/thing/cover/GT_Cover_TM_TeslaCoil.java +++ b/src/main/java/com/github/technus/tectech/thing/cover/GT_Cover_TM_TeslaCoil.java @@ -52,8 +52,8 @@ public class GT_Cover_TM_TeslaCoil extends GT_CoverBehavior { @Override public int getTickRate(ForgeDirection side, int aCoverID, int aCoverVariable, ICoverable aTileEntity) { - // It updates once every 200 ticks, so once every 10 seconds - return 200; + // It updates once every 10 ticks, so once every 0.5 second + return 10; } public byte getTeslaReceptionCapability() { |