Skip to content

Commit b1d49f5

Browse files
committed
Fix Checkstyle issues
1 parent bc4157b commit b1d49f5

File tree

1 file changed

+4
-3
lines changed
  • src/main/java/org/spongepowered/api/event/cause/entity/damage/source

1 file changed

+4
-3
lines changed

src/main/java/org/spongepowered/api/event/cause/entity/damage/source/DamageSource.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
/**
4646
* Represents a {@link Cause} for damage on the {@link Entity} being
4747
* damaged. Usually the {@link DamageSource} will have different properties
48-
* based on the {@link DamageType} and its ascociated {@link org.spongepowered.api.tag.Tag<DamageType> tags}
48+
* based on the {@link DamageType} and its associated {@link org.spongepowered.api.tag.Tag tags}
4949
*
5050
* <p>Almost always, the {@link DamageSource} will be the first element in
5151
* the {@link Cause} of the event. Any additional modifiers that "aid" the
@@ -77,7 +77,7 @@ static Builder builder() {
7777
*/
7878
@Deprecated
7979
default boolean isAbsolute() {
80-
return this.type().is(DamageTypeTags.BYPASSES_EFFECTS) && this.type().is(DamageTypeTags.BYPASSES_ENCHANTMENTS) ;
80+
return this.type().is(DamageTypeTags.BYPASSES_EFFECTS) && this.type().is(DamageTypeTags.BYPASSES_ENCHANTMENTS);
8181
}
8282

8383
/**
@@ -153,9 +153,10 @@ default boolean isFire() {
153153
*
154154
* @return The increase in exhaustion
155155
*/
156-
default double exhaustion(){
156+
default double exhaustion() {
157157
return this.type().exhaustion();
158158
}
159+
159160
/**
160161
* Gets the {@link Entity} that is the source.
161162
* <p>

0 commit comments

Comments
 (0)