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