Skip to content

Commit

Permalink
make unbound circles cast as enlightened (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamsTheNerd authored Oct 28, 2024
2 parents 9d8ad95 + 8195fd5 commit 20139eb
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ public boolean isVecInRangeEnvironment(Vec3 vec) {
return this.execState.bounds.contains(vec);
}

@Override
public boolean isEnlightened() {
// have unbound circles be enlightened.
if(getCastingEntity() == null) return true;
return super.isEnlightened();
}

@Override
public boolean hasEditPermissionsAtEnvironment(BlockPos pos) {
return true;
Expand Down

0 comments on commit 20139eb

Please sign in to comment.