fix: add missing target existence check to mind stone

This commit is contained in:
punchready 2021-08-10 20:26:35 +02:00
parent 673ba9f89d
commit d2942341e2

View File

@ -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);