Skip to content

Commit 331b3d1

Browse files
authored
Merge pull request #5 from Jeryn99/1.20/main
Bug fix: Key crashing the game when summoning the TARDIS
2 parents 8fb2e76 + c869cb9 commit 331b3d1

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Release!
1+
- Bug fix: Key crashing the game when summoning the TARDIS

common/src/main/java/net/threetag/triadtech/tweaks/KeyTardisCallTweak.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static InteractionResultHolder<ItemStack> rightClick(Player player, Level
5050
TardisLevelOperator operator = operatorOptional.get();
5151
TardisPilotingManager pilotManager = operator.getPilotingManager();
5252

53-
if (pilotManager.beginFlight(true, null) && !pilotManager.isInRecovery()) {
53+
if (pilotManager.beginFlight(true) && !pilotManager.isInRecovery()) {
5454
pilotManager.setTargetLocation(new TardisNavLocation(pos.above(), player.getDirection().getOpposite(), serverLevel));
5555
level.playSound(null, pos, SoundEvents.PLAYER_LEVELUP, SoundSource.BLOCKS, 1.0F, 1.0F);
5656
PlayerUtil.sendMessage(player, Component.translatable(ModMessages.TARDIS_IS_ON_THE_WAY), true);

fabric/src/main/resources/fabric.mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "TriadTech",
66
"description": "An addon for TARDIS Refined, adding new upgrade for the TARDIS!",
77
"authors": [
8-
"Lucraft"
8+
"Lucraft", "Jeryn99", "Sheriff1999"
99
],
1010
"contact": {
1111
"homepage": "https://modrinth.com/project/triadtech",
@@ -29,6 +29,6 @@
2929
"minecraft": "~1.20.1",
3030
"java": ">=17",
3131
"fabric-api": "*",
32-
"tardis_refined": ">=2.0.2"
32+
"tardis_refined": ">=2.1.3"
3333
}
3434
}

forge/src/main/resources/META-INF/mods.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "All rights reserved"
77
modId = "triadtech"
88
version = "${version}"
99
displayName = "TriadTech"
10-
authors = "Lucraft"
10+
authors = "Lucraft, Jeryn99, Sheriff1999"
1111
description = '''
1212
An addon for TARDIS Refined, adding new upgrade for the TARDIS!
1313
'''
@@ -33,6 +33,6 @@ side = "BOTH"
3333
[[dependencies.triadtech]]
3434
modId = "tardis_refined"
3535
mandatory = true
36-
versionRange = "[2.0.2,)"
36+
versionRange = "[2.1.3,)"
3737
ordering = "NONE"
3838
side = "BOTH"

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx2G
33
org.gradle.parallel=true
44

55
# Mod properties
6-
mod_version=1.0.1
6+
mod_version=1.0.2
77
maven_group=net.threetag.triadtech
88
archives_name=triadtech
99
enabled_platforms=fabric,forge
@@ -15,6 +15,6 @@ minecraft_version=1.20.1
1515
fabric_loader_version=0.15.11
1616
fabric_api_version=0.92.2+1.20.1
1717
forge_version=1.20.1-47.2.32
18-
tardis_refined_version=mc1.20.1-v2.1.0
18+
tardis_refined_version=mc1.20.1-v2.1.3
1919
forge_config_api_port_version=8.0.0
2020
cardinal_components_version=5.2.2

0 commit comments

Comments
 (0)