From 522ed74bd9c3673224021b5faf2856a78016ec94 Mon Sep 17 00:00:00 2001 From: Duzo Date: Mon, 5 Feb 2024 01:27:52 +0000 Subject: [PATCH] hot fix a crash --- CHANGELOG.md | 24 ++----------------- gradle.properties | 2 +- .../blockentities/ConsoleBlockEntity.java | 2 +- 3 files changed, 4 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3bd8b215..a8dceb432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,22 +1,2 @@ -# 1.2.26 -- Added Security -- - Those without linked keys will be left behind on demat -- - Those without linked keys cannot use the console -- Autopilot now only works on lowest speed -- Flipping the handbrake with autopilot enabled now forces you to land instead of crashing -- Crashing now causes an explosion -- Monitor can now be rotated freely -- Added eighth doctor hum -- Made a different particle show when refueling in a RiftChunk -- Updated monitor screen -- Added four new creak sounds -- Added a LinkCommand -- Failing to takeoff/land no longer sends a message to the pilot -- Flight sounds no longer play when out of power -- Fixed being unable to turn off antigravs at max world height -- Fixed issues with Siege Mode -- Added a temporary command to force tardises out of siege mode -- Created ArtronHolder interface -- Renamed "ExteriorSchema" to "ExteriorCategory" -- Moved "hasPortals" method into the individual variants -- Readded syncing if you have a linked item - NEEDS TESTING MAY CAUSE STACKING ISSUES +# 1.2.7 +- Hot fix crash \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index ec1de9f52..78d5d9e54 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ yarn_mappings=1.20.1+build.10 loader_version=0.15.3 # Mod Properties -mod_version = 1.2.26-1.20.1-beta +mod_version = 1.2.27-1.20.1-beta maven_group = mdteam.ait archives_base_name = ait diff --git a/src/main/java/mdteam/ait/core/blockentities/ConsoleBlockEntity.java b/src/main/java/mdteam/ait/core/blockentities/ConsoleBlockEntity.java index 482cf6c58..1c385e073 100644 --- a/src/main/java/mdteam/ait/core/blockentities/ConsoleBlockEntity.java +++ b/src/main/java/mdteam/ait/core/blockentities/ConsoleBlockEntity.java @@ -393,7 +393,7 @@ public void tick(World world, BlockPos pos, BlockState state, ConsoleBlockEntity } if(this.getTardis().isEmpty()) return; - ServerTardis tardis = (ServerTardis) this.getTardis().get(); + Tardis tardis = this.getTardis().get(); boolean isRiftChunk = RiftChunkManager.isRiftChunk(tardis.getExterior().getExteriorPos());