Fixed UTF-8 Error

This commit is contained in:
BuildTools 2024-01-15 22:36:20 +01:00
parent 54bcdea4f7
commit 44c4567b94
2 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,10 @@ plugins {
}
group = 'xyz.tronax'
version = '1.0'
version = '1.2'
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
repositories {
mavenCentral()

View file

@ -14,7 +14,7 @@ public class CMD_repairall implements CommandExecutor {
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if(!(sender instanceof Player)) {
sender.sendMessage(RepairAll.prefix + " §cYou are not a player!");
sender.sendMessage(RepairAll.prefix + "§cYou are not a player!");
} else {
Player p = (Player) sender;