File tree 2 files changed +3
-3
lines changed
java/net/pistonmaster/pistonchat/utils
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import lombok .RequiredArgsConstructor ;
4
4
import net .pistonmaster .pistonchat .PistonChat ;
5
- import org .bukkit .configuration .Configuration ;
6
5
import org .bukkit .configuration .InvalidConfigurationException ;
7
6
import org .bukkit .configuration .file .FileConfiguration ;
8
7
import org .bukkit .configuration .file .YamlConfiguration ;
@@ -31,7 +30,7 @@ public FileConfiguration get() {
31
30
return config ;
32
31
}
33
32
34
- private Configuration getDefaultConfig () {
33
+ private YamlConfiguration getDefaultConfig () {
35
34
YamlConfiguration config = new YamlConfiguration ();
36
35
37
36
try (
@@ -46,7 +45,7 @@ private Configuration getDefaultConfig() {
46
45
return config ;
47
46
}
48
47
49
- private FileConfiguration getConfig () {
48
+ private YamlConfiguration getConfig () {
50
49
YamlConfiguration config = new YamlConfiguration ();
51
50
52
51
try {
Original file line number Diff line number Diff line change 4
4
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ChatColor.html
5
5
# pistonchat.prefix.green and pistonchat.chatformat.default are given by default.
6
6
# storage is either file or mysql
7
+
7
8
whisper :
8
9
from : " <light_purple><player_name> whispers: <message>"
9
10
to : " <light_purple>You whisper to <player_name>: <message>"
You can’t perform that action at this time.
0 commit comments