Skip to content

Commit

Permalink
- Bug fix: Fixed issue where End Dragon fight would not be checked co…
Browse files Browse the repository at this point in the history
…rrectly
  • Loading branch information
Jeryn99 committed Jan 8, 2025
1 parent 43a4bca commit c9f9ef2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
- Bug Fix: Fixed Dedicated Servers on Fabric having issues loading data from disk (Caused dupe TARDIS and loss of Upgrades etc)
- Bug Fix: Fixed Diagonal Windows Support
- Bug fix: Fixed duplication happening on logging out mid-flight (and other occasions)

- Bug fix: Fixed issue where End Dragon fight would not be checked correctly
-
#### Textures and Models
- Altered: Factory Console Emission Texture
- Altered: Factory Console (Mint) Emission Texture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private boolean changeDim(TardisLevelOperator operator, ConsoleTheme theme, Cont
// We want to filter out the end if the end hasn't been completed whilst the player is in flight. We can keep it pre-flight because we do some fancy sounds to tell the player
// it's not an option.
if (nextDimension.dimension() == Level.END && pilotManager.isInFlight()) {
if (!TardisHelper.hasTheEndBeenCompleted(pilotManager.getTargetLocation().getLevel())) {
if (!TardisHelper.hasTheEndBeenCompleted(nextDimension)) {
nextIndex += forward ? 1 : -1;
}
}
Expand Down
5 changes: 3 additions & 2 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ dependencies {
include "dev.onyxstudios.cardinal-components-api:cardinal-components-world:${rootProject.cardinal_version}"
include "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${rootProject.cardinal_version}"

modCompileOnly "com.terraformersmc:modmenu:${rootProject.mod_menu_version}"
modCompileOnly "curse.maven:jei-238222:${rootProject.jei_fabric_version}"
modImplementation "com.terraformersmc:modmenu:${rootProject.mod_menu_version}"
modImplementation "curse.maven:jei-238222:${rootProject.jei_fabric_version}"
modImplementation "curse.maven:huge-structure-blocks-474114:4803539"
modImplementation "curse.maven:configured-457570:5180902"

// Trinkets
modCompileOnly ("dev.emi:trinkets:${rootProject.trinkets_version}") {
Expand Down

0 comments on commit c9f9ef2

Please sign in to comment.