mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-24 03:35:11 +01:00
Go back to replaceAll
This is required.
This commit is contained in:
parent
b0f1417166
commit
51dbca0f99
@ -196,7 +196,7 @@ public class WebManager {
|
||||
@NonNull
|
||||
private String getContent(@NonNull GitHubRepository repo, String fileName) {
|
||||
try {
|
||||
String content = repo.getContent(fileName).getContent().replace("\\n", "");
|
||||
String content = repo.getContent(fileName).getContent().replaceAll("\\n", ""); // replaceAll is required here
|
||||
return new String(Base64.getDecoder().decode(content), StandardCharsets.UTF_8);
|
||||
} catch (IllegalAccessException e) {
|
||||
// Fail silently
|
||||
|
Loading…
Reference in New Issue
Block a user