Skip to content

Commit

Permalink
fix typo in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 26, 2019
1 parent b4020a3 commit ce4cb59
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -2365,14 +2365,14 @@ public ObjectTag run(Attribute attribute, EntityTag object) {
});

// <--[tag]
// @attribute <EntityTag.oxygen.max>
// @attribute <EntityTag.max_oxygen>
// @returns DurationTag
// @group attributes
// @description
// Returns the maximum duration of oxygen the entity can have.
// Works with offline players.
// -->
registerSpawnedOnlyTag("oxygen", new TagRunnable.ObjectForm<EntityTag>() {
registerSpawnedOnlyTag("max_oxygen", new TagRunnable.ObjectForm<EntityTag>() {
@Override
public ObjectTag run(Attribute attribute, EntityTag object) {
return new DurationTag((long) object.getLivingEntity().getMaximumAir());
Expand Down

0 comments on commit ce4cb59

Please sign in to comment.