Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 22, 2020
1 parent 239c916 commit 8904c3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -996,6 +996,9 @@ public static void registerTags() {
// @description
// Returns the location of the block this location is on,
// i.e. returns a location without decimals or direction.
// Note that you almost never actually need this tag. This does not "get the block", this just rounds coordinates down.
// If you have this in a script, it is more likely to be a mistake than actually needed.
// Consider using <@link tag LocationTag.round_down> instead.
// -->
registerTag("block", (attribute, object) -> {
return new LocationTag(object.getWorld(), object.getBlockX(), object.getBlockY(), object.getBlockZ());
Expand Down
Expand Up @@ -408,7 +408,7 @@ else if (lastLocation != null && lastVelocity != null) {
}
};

task.runTaskTimer(DenizenAPI.getCurrentInstance(), 0, 2);
task.runTaskTimer(DenizenAPI.getCurrentInstance(), 1, 2);
}

@EventHandler
Expand Down

0 comments on commit 8904c3d

Please sign in to comment.