Skip to content

Commit

Permalink
Mark ExprEntity as default expression (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
FranKusmiruk committed Jul 15, 2018
1 parent f11155d commit 0ce835c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/ch/njol/skript/expressions/ExprEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ public boolean isSingle() {
public Class<? extends Entity> getReturnType() {
return type.getType();
}

@Override
public boolean isDefault() {
return true;
}

@Override
@Nullable
Expand Down

0 comments on commit 0ce835c

Please sign in to comment.