Update JeffChestSortPlugin.java

This commit is contained in:
JEFF 2018-08-21 00:35:18 +02:00 committed by GitHub
parent 712674541a
commit a051a6443b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ public class JeffChestSortPlugin extends JavaPlugin {
createConfig();
messages = new JeffChestSortMessages(this);
organizer = new JeffChestSortOrganizer(this);
sortingMethod = getConfig().getString("sorting-method","{itemsFirst},{name}");
sortingMethod = getConfig().getString("sorting-method","{itemsFirst},{name},{color}");
getServer().getPluginManager().registerEvents(new JeffChestSortListener(this), this);
JeffChestSortCommandExecutor commandExecutor = new JeffChestSortCommandExecutor(this);
this.getCommand("chestsort").setExecutor(commandExecutor);