Config saveToString() cuts long lines with LineFeed

Discussion in 'Plugin Development' started by colmalle, Jul 20, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    colmalle

    When I was getting my config as a string I found out that this function cuts long lines with a LineFeed. I have checked the bukkit source code and found out that this is an abstract method and I couldn't find the code. Does anyone know why and how can I fix it?
     
  2. Offline

    timtower Moderator Moderator

    @colmalle Why do you want to save it to a string?
     
  3. Offline

    colmalle

    Because I have a comment system that replaces certain things with comments.
    I have checked and made sure that its the saveToString() that cuts the config.
     
  4. Offline

    timtower Moderator Moderator

    @colmalle Why not just make a description on the page?
     
  5. Offline

    colmalle

    ¯\_(ツ)_/¯
    Just want it to be easier to understand

    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 21, 2020
  6. Offline

    colmalle

Thread Status:
Not open for further replies.

Share This Page