Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ private void stopAllEffects() {
protected abstract void turnOffBuff(LivingEntity entity);

/**
* The {@link BuffSpell} implementation of this method handles running {@link BuffSpell#turnOff(LivingEntity)} for entities.
* The {@link BuffSpell} implementation of this method handles running {@link BuffSpell#turnOff(LivingEntity)} for entities in {@link BuffSpell#getActiveEntities()}.
*/
@Override
@MustBeInvokedByOverriders
Expand All @@ -423,7 +423,9 @@ protected void turnOff() {
}

@NotNull
protected abstract Collection<UUID> getActiveEntities();
protected Collection<UUID> getActiveEntities() {
return Collections.emptyList();
}

public boolean isTargeted() {
return targeted;
Expand Down
Loading