Skip to content

Commit c5c8f3f

Browse files
beholderfaceSamsTheNerd
authored andcommitted
oops forgot to put that code back
1 parent 77c811c commit c5c8f3f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Common/src/main/java/at/petrak/hexcasting/api/casting/eval/env/PlayerBasedCastEnv.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ public void postExecution(CastResult result) {
7171
this.sendMishapMsgToPlayer(doMishap);
7272
}
7373
}
74+
if (this.caster != null){
75+
double ambitAttribute = this.caster.getAttributeValue(HexAttributes.AMBIT_RADIUS);
76+
if (this.ambitRadius != ambitAttribute){
77+
this.ambitRadius = ambitAttribute;
78+
}
79+
double sentinelAttribute = this.caster.getAttributeValue(HexAttributes.SENTINEL_RADIUS);
80+
if (this.sentinelRadius != sentinelAttribute){
81+
this.sentinelRadius = sentinelAttribute;
82+
}
83+
}
7484
}
7585

7686
@Override

0 commit comments

Comments
 (0)