mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2025-02-09 00:41:54 +01:00
Update JeffChestSortPlugin.java
This commit is contained in:
parent
712674541a
commit
a051a6443b
@ -24,7 +24,7 @@ public class JeffChestSortPlugin extends JavaPlugin {
|
|||||||
createConfig();
|
createConfig();
|
||||||
messages = new JeffChestSortMessages(this);
|
messages = new JeffChestSortMessages(this);
|
||||||
organizer = new JeffChestSortOrganizer(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);
|
getServer().getPluginManager().registerEvents(new JeffChestSortListener(this), this);
|
||||||
JeffChestSortCommandExecutor commandExecutor = new JeffChestSortCommandExecutor(this);
|
JeffChestSortCommandExecutor commandExecutor = new JeffChestSortCommandExecutor(this);
|
||||||
this.getCommand("chestsort").setExecutor(commandExecutor);
|
this.getCommand("chestsort").setExecutor(commandExecutor);
|
||||||
|
Loading…
Reference in New Issue
Block a user