Skip to content

Commit aa9cf25

Browse files
committed
Hotfix crashing when coolant is disabled, bump version
1 parent 6f9fe94 commit aa9cf25

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
# GregTech Modern Utilities version 1.1.0
1+
# GregTech Modern Utilities version 1.1.1
22

3-
Add the Power Transfer Einstein-Rosen Bridge, a wireless version of the Active Transformer.
3+
1.1.0 added PTERB
4+
5+
HOTFIX: prevent crashing when Quantum Coolant is disabled

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ org.gradle.jvmargs=-Xmx1G
1111
mapping_version=2023.09.03-1.20.1
1212

1313
# Mod Properties
14-
mod_version=1.1.0
14+
mod_version=1.1.1
1515
maven_group=net.neganote.gtmutils
1616
archives_base_name=gtmutils
1717
mod_id=gtmutils

src/main/java/net/neganote/gtutilities/common/machine/UtilMachines.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ public static MachineDefinition[] registerTieredMachines(String name,
132132
.conditionalTooltip(
133133
Component
134134
.translatable("tooltip.pterb_machine.uses_coolant",
135-
UtilMaterials.QuantumCoolant.getLocalizedName()
136-
.withStyle(ChatFormatting.AQUA))
135+
UtilMaterials.QuantumCoolant != null ? UtilMaterials.QuantumCoolant.getLocalizedName()
136+
.withStyle(ChatFormatting.AQUA) : "")
137137
.withStyle(ChatFormatting.DARK_RED),
138138
UtilConfig.coolantEnabled())
139139
.pattern((definition) -> FactoryBlockPattern.start()

0 commit comments

Comments
 (0)