Fixed UTF-8 Error
This commit is contained in:
parent
54bcdea4f7
commit
44c4567b94
2 changed files with 5 additions and 2 deletions
|
|
@ -3,7 +3,10 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'xyz.tronax'
|
group = 'xyz.tronax'
|
||||||
version = '1.0'
|
version = '1.2'
|
||||||
|
|
||||||
|
compileJava.options.encoding = "UTF-8"
|
||||||
|
compileTestJava.options.encoding = "UTF-8"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ public class CMD_repairall implements CommandExecutor {
|
||||||
@Override
|
@Override
|
||||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||||
if(!(sender instanceof Player)) {
|
if(!(sender instanceof Player)) {
|
||||||
sender.sendMessage(RepairAll.prefix + " §cYou are not a player!");
|
sender.sendMessage(RepairAll.prefix + "§cYou are not a player!");
|
||||||
} else {
|
} else {
|
||||||
Player p = (Player) sender;
|
Player p = (Player) sender;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue