Skip to content

Commit

Permalink
Camera spawned at 0,0 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubyboat1207 committed Jan 26, 2023
1 parent 7bd42ab commit 7dcd981
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ minecraft_version=1.19.3
yarn_mappings=1.19.3+build.5
loader_version=0.14.12
# Mod Properties
mod_version=1.19.3-1.6.2
mod_version=1.19.3-1.6.3
maven_group=rubyboat
archives_base_name=ghost
# Dependencies
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/rubyboat/ghost/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static JsonObject getFallbackConfig() {
fallback.addProperty("technoblade", true);

// -- Gamemodes --
fallback.addProperty("camera_type", "none");
fallback.addProperty("camera_type", "normal");

return fallback;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/rubyboat/ghost/mixin/CameraMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void update(BlockView area, Entity focusedEntity, boolean thirdPerson, bo
this.thirdPerson = thirdPerson;
String camType = Config.getConfigValueString("camera_type");
var distance = Config.getConfigValueFloat("camera_distance");
if(camType.equalsIgnoreCase("normal") || camType.equalsIgnoreCase("choppy"))
if(!camType.equalsIgnoreCase("topdown"))
{
if(!camType.equalsIgnoreCase("choppy"))
{
Expand Down

0 comments on commit 7dcd981

Please sign in to comment.