Update Core.java

Fixed bug (not finding win von the field)