diff -r 497185ce6691 -r 51bfc33c0566 src/main/java/ru/alphatech/icfpc/cards/Get.java --- a/src/main/java/ru/alphatech/icfpc/cards/Get.java Sun Jun 19 15:10:18 2011 +0400 +++ b/src/main/java/ru/alphatech/icfpc/cards/Get.java Sun Jun 19 15:10:41 2011 +0400 @@ -13,11 +13,19 @@ if (iobj instanceof Value) { int i = ((Value)iobj).getValue(); - int v = proponent.getSlot(i).getVitality(); - if(i >= 0 && i <= 255 && v > 0) + if(i >= 0 && i <= 255) { - return proponent.getSlot(i).getValue(); + int v = proponent.getSlot(i).getVitality(); + + if(v > 0) + { + return proponent.getSlot(i).getValue(); + } + else + { + throw new ICFPCException(); + } } else {