mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-06-30 20:55:33 +02:00
Merge branch 'patch-24' into 'dev'
Update exception See merge request morningstar/Arcturus-Community!196
This commit is contained in:
commit
1018985f3e
|
@ -54,7 +54,7 @@ public class Item {
|
|||
try {
|
||||
int index = Integer.valueOf(item.getExtradata()) % (item.getBaseItem().getMultiHeights().length);
|
||||
return item.getBaseItem().getMultiHeights()[(item.getExtradata().isEmpty() ? 0 : index)];
|
||||
} catch (Exception e) {
|
||||
} catch (NumberFormatException e) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user