Skip to content

Commit 0ca091f

Browse files
authored
Update IntFieldMutator.java
getInt
1 parent 52be5bb commit 0ca091f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artemis-core/artemis/src/main/java/com/artemis/link/IntFieldMutator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class IntFieldMutator implements UniFieldMutator {
99
@Override
1010
public int read(Component c, Field f) {
1111
try {
12-
return (int) f.get(c);
12+
return f.getInt(c);
1313
} catch (ReflectionException e) {
1414
throw new RuntimeException(e);
1515
}

0 commit comments

Comments
 (0)