Skip to content

Commit

Permalink
fix world.time.full
Browse files Browse the repository at this point in the history
also meta typo fix
  • Loading branch information
mcmonkey4eva committed Nov 27, 2019
1 parent d4f69aa commit b2867e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -396,7 +396,7 @@ public boolean runPermissionCheck(ScriptPath path, String switchName, PlayerTag
// @name Player Event Switches
// @group Script Events
// @description
// There are a few special switches available to any script event with a linked event.
// There are a few special switches available to any script event with a linked player.
//
// The "flagged:<flag name>" will limit the event to only fire when the player has the flag with the specified name.
// It can be used like "on player breaks block flagged:nobreak:" (that would be used alongside "- flag player nobreak").
Expand Down
Expand Up @@ -584,7 +584,7 @@ public static void registerTags() {
// -->
else if (attribute.startsWith("full", 2)) {
attribute.fulfill(1);
return new ElementTag(object.getWorld().getFullTime());
return new DurationTag(object.getWorld().getFullTime());
}

// <--[tag]
Expand Down

0 comments on commit b2867e1

Please sign in to comment.