|
src\server\model\players\SkillMenu.java:15: error: possible loss of precision
private static final int[][] items = {{15701,15702.15703,15704,1321,1323
,1325,1327,1329,1331,1333,4153,4587,4151,4718,1169 4,9747},
^
required: int
found: double
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Compile Finished!
This error comes. cant just understand what is that problem.
private static final int[][] items = {{15701,15702.15703,15704,1321,1323
,1325,1327,1329,1331,1333,4153,4587,4151,4718,1169 4,9747}
You declared items as a int, but it found it as a double variable. A int cannot have decimals in it. I'm assuming it's because of the "15702.15703" or something. If not then just change it to private static final double.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |