fix: add missing target existence check to mind stone
This commit is contained in:
parent
673ba9f89d
commit
d2942341e2
@ -139,6 +139,8 @@ public class GameLogic {
|
|||||||
verifyCoordinates(state, data.targetField);
|
verifyCoordinates(state, data.targetField);
|
||||||
|
|
||||||
requireLineOfSight(state, data.originField, data.targetField);
|
requireLineOfSight(state, data.originField, data.targetField);
|
||||||
|
|
||||||
|
getAttackableWithoutID(state, data.targetField);
|
||||||
}
|
}
|
||||||
case RealityStone -> {
|
case RealityStone -> {
|
||||||
verifyCoordinates(state, data.targetField);
|
verifyCoordinates(state, data.targetField);
|
||||||
|
Loading…
Reference in New Issue
Block a user