Skip to content

Commit

Permalink
Fix schematics menu and default options
Browse files Browse the repository at this point in the history
  • Loading branch information
Efnilite committed Jul 16, 2022
1 parent fa2caf9 commit 15aee2d
Show file tree
Hide file tree
Showing 26 changed files with 200 additions and 117 deletions.
Binary file added images/new/engels_verdieping.docx
Binary file not shown.
Binary file added images/new/features.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/fts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions images/new/fts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/hooks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/infinite parkour banner.pdn
Binary file not shown.
Binary file added images/new/infinite parkour banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/infinite parkour head template.pdn
Binary file not shown.
Binary file added images/new/infinite parkour lower.pdn
Binary file not shown.
Binary file added images/new/infinite parkour lower.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/reviewing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/servers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/showcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/videos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/new/wiki.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>dev.efnilite</groupId>
<artifactId>IP</artifactId>
<packaging>pom</packaging>
<version>3.5.2</version>
<version>3.5.3</version>
<modules>
<module>witp</module>
</modules>
Expand Down
4 changes: 2 additions & 2 deletions witp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<artifactId>IP</artifactId>
<groupId>dev.efnilite</groupId>
<version>3.5.2</version>
<version>3.5.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>witp</artifactId>
<version>3.5.2</version>
<version>3.5.3</version>

<properties>
<maven.compiler.source>16</maven.compiler.source>
Expand Down
2 changes: 1 addition & 1 deletion witp/src/main/java/dev/efnilite/ip/ParkourCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public boolean execute(CommandSender sender, String[] args) {
}
case "menu" -> {
ParkourPlayer pp = ParkourPlayer.getPlayer(player);
if (Option.OPTIONS_ENABLED.get() && pp != null) {
if (Option.SETTINGS_ENABLED.get() && pp != null) {
pp.getGenerator().menu();
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion witp/src/main/java/dev/efnilite/ip/api/StyleType.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public StyleType() {
public void addConfigStyles(@NotNull String path, @NotNull FileConfiguration file) {
List<String> list = Util.getNode(file, path, false);

if (list == null || list.isEmpty()) {
if (list.isEmpty()) {
IP.logging().error("Style path " + path + " not found");
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ protected Block selectNext(Location current, int range, int dy) {

// if selection angle is reduced, half the current sideways step
if (option(GeneratorOption.REDUCE_RANDOM_BLOCK_SELECTION_ANGLE)) {
ds *= 0.5;
if (1 < ds) {
ds = 1;
} else if (ds < -1) {
ds = -1;
}
}

// delta forwards
Expand Down
Loading

0 comments on commit 15aee2d

Please sign in to comment.