Inspection and Cleanup

This commit is contained in:
2022-10-03 21:13:35 +02:00
parent 6907a767c6
commit c9bc9dd2da
78 changed files with 76 additions and 275 deletions

View File

@@ -2,7 +2,7 @@ package eu.mhsl.minenet.minigames.message.component;
public class NamespacedTranslatable {
private String namespace;
private final String namespace;
public NamespacedTranslatable(String namespace) {
this.namespace = namespace;

View File

@@ -8,7 +8,7 @@ import net.minestom.server.entity.Player;
import org.jetbrains.annotations.NotNull;
public class TranslatedComponent implements ComponentLike, Translatable {
private String mapId;
private final String mapId;
private String result;
private NamedTextColor color;