MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Unescaped string while generating the project

Open Kalitsune opened this issue 2 years ago • 0 comments

DO NOT REQUEST SUPPORT FOR OLDER VERSIONS OF MINECRAFT.

Please include the following information in all bug reports:

  • Minecraft Development for IntelliJ plugin version
  • IntelliJ version
  • Operating System (this has come up enough times to be worth noting)
  • (optional) Target platform, if relevant
    • E.g., Bukkit, Forge, Mixin, etc

Always include a stack trace if there is one. Otherwise, the more information you can provide in terms of how to reproduce the problem, the more likely it'll be fixed. If there is something specific about your project, a link to the GitHub project can be very helpful.

environement

Minecraft Development for IntelliJ plugin version: 2021.3-1.5.18 IntelliJ version: IntelliJ IDEA 2021.3.2 (Ultimate Edition) Operating System:

  • OS: Ubuntu 21.10 impish
  • Kernel: x86_64 Linux 5.13.0-30-generic

Target Platform: Fabric

problem

When generating a new porject, the plugins ask for information about the project. When I wrote: Allow you to place a custom block, the "cacophonium" thats show as a noteblock but when you click on it, opens a menu to select a custom sound ID to be played, in fabric.mod.json, the plugin wrote:

...
  "name": "Cacophonium",
  "description": "Allow you to place a custom block, the "
  cacophonium
  " thats show as a noteblock but when you click on it, opens a menu to select a custom sound ID to be played",
  "authors": [
...

instead of

...
  "name": "Cacophonium",
  "description": "Allow you to place a custom block, the \"cacophonium\" thats show as a noteblock but when you click on it, opens a menu to select a custom sound ID to be played",
  "authors": [
...

making the gradle build fail

Kalitsune avatar Feb 26 '22 14:02 Kalitsune