mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-03 08:03:26 +01:00
12.0.3
This commit is contained in:
parent
61d5ce77f3
commit
9b852b5e7a
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 12.0.3
|
||||
- Fixed some commands (e.g. /sort on|off|toggle) accidently opening the GUI
|
||||
|
||||
## 12.0.2
|
||||
- Replaced PlayerInteractEvent with ChestSortLeftClickHotkeyEvent (fixes problems with other plugins opening GUIs on PlayerInteractEvent)
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -9,7 +9,7 @@
|
||||
<name>ChestSort</name>
|
||||
<url>https://www.chestsort.de</url>
|
||||
<description>Allows automatic chest sorting!</description>
|
||||
<version>12.0.2</version>
|
||||
<version>12.0.3</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
|
@ -142,6 +142,13 @@ public class ChestSortCommand implements CommandExecutor {
|
||||
} else if (args[0].equalsIgnoreCase("off")) {
|
||||
setting.disableChestSorting();
|
||||
}
|
||||
setting.hasSeenMessage = true;
|
||||
if(setting.sortingEnabled) {
|
||||
p.sendMessage(Messages.MSG_ACTIVATED);
|
||||
} else {
|
||||
p.sendMessage(Messages.MSG_DEACTIVATED);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
setting.hasSeenMessage = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user