Updated and got several messages "possible lossy conversion from double to int" that weren't there before.

Started by James Sylar on

Topic category: Troubleshooting, bugs, and solutions

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Updated and got several messages "possible lossy conversion from double to int" that weren't there before.

Good evening, early I updated the version of Mcreator, I already had 2020.2, but the pop-up was still appearing saying there was an update with a few bug fixes that I though could solve a small problem I had, but errors started to appear in a few procedures I have. 

error: incompatible types: possible lossy conversion from double to int 
                        _setstack.setCount(((NumberOfItems) + 1)); 
                                           ^

I don't know how to code, so I tried to erase the parenthesis, but then the error moved to the plus sign, or to the closing parenthesis. I tried what fixed other user trouble, reseting the PC, uninstall, reset, and then reinstal. Still the same. I tried going to a previous version, but now it says I can't open it there because it was opened on an updated version. I forgot to make a back up since a couple of days, so I don't really want to have to re-do all the work I did (it is not much, but it is annoying). If it means anything, when I downloaded and installed the updated version for the first time, it told me there were missing several files, but not after I had done the reset-uninstall-reset-install.

Please, help me, Obi-Wan Kenobi, you are my last hope. 

Good evening, early I…
Sun, 04/05/2020 - 08:35

Good evening, early I updated the version of Mcreator, I already had 2020.2, but the pop-up was still appearing saying there was an update with a few bug fixes that I though could solve a small problem I had, but errors started to appear in a few procedures I have. 

Please open a support ticket and include your workspace.