mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2025-02-01 13:01:28 +01:00
8.17.5 release
This commit is contained in:
parent
a953913bcc
commit
2df5959fac
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 8.17.5
|
||||||
|
- Fixed "/invsort hotbar" and "/invsort all" only sorting the normal inventory when "allow-automatic-inventory-sorting" is set to false
|
||||||
|
|
||||||
## 8.17.4
|
## 8.17.4
|
||||||
- Improved GUI detection
|
- Improved GUI detection
|
||||||
- Added Polish translation (thanks to PLKaratusPL)
|
- Added Polish translation (thanks to PLKaratusPL)
|
||||||
|
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>Automatically sorts your chests!</description>
|
<description>Automatically sorts your chests!</description>
|
||||||
<version>8.17.4</version>
|
<version>8.17.5</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -55,7 +55,11 @@ public class ChestSortInvSortCommand implements CommandExecutor {
|
|||||||
|
|
||||||
ChestSortPlayerSetting setting = plugin.perPlayerSettings.get(p.getUniqueId().toString());
|
ChestSortPlayerSetting setting = plugin.perPlayerSettings.get(p.getUniqueId().toString());
|
||||||
|
|
||||||
if(!plugin.getConfig().getBoolean("allow-automatic-inventory-sorting")) args=new String[]{"inv"};
|
if(!plugin.getConfig().getBoolean("allow-automatic-inventory-sorting")) {
|
||||||
|
if(args.length==0 || args[0].equalsIgnoreCase("on") || args[0].equalsIgnoreCase("off") || args[0].equalsIgnoreCase("toggle") ) {
|
||||||
|
args = new String[]{"inv"};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(args.length>0) {
|
if(args.length>0) {
|
||||||
if(args[0].equalsIgnoreCase("all")) {
|
if(args[0].equalsIgnoreCase("all")) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
main: de.jeff_media.ChestSort.ChestSortPlugin
|
main: de.jeff_media.ChestSort.ChestSortPlugin
|
||||||
name: ChestSort
|
name: ChestSort
|
||||||
version: 8.17.4
|
version: 8.17.5
|
||||||
api-version: "1.13"
|
api-version: "1.13"
|
||||||
description: Allows automatic chest sorting
|
description: Allows automatic chest sorting
|
||||||
author: mfnalex
|
author: mfnalex
|
||||||
|
Loading…
Reference in New Issue
Block a user