8.17.5 release

This commit is contained in:
mfnalex 2020-09-13 16:06:07 +02:00
parent a953913bcc
commit 2df5959fac
4 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,8 @@
# 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
- Improved GUI detection
- Added Polish translation (thanks to PLKaratusPL)

View File

@ -9,7 +9,7 @@
<name>ChestSort</name>
<url>https://www.chestsort.de</url>
<description>Automatically sorts your chests!</description>
<version>8.17.4</version>
<version>8.17.5</version>
<packaging>jar</packaging>
<properties>

View File

@ -55,7 +55,11 @@ public class ChestSortInvSortCommand implements CommandExecutor {
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[0].equalsIgnoreCase("all")) {

View File

@ -1,6 +1,6 @@
main: de.jeff_media.ChestSort.ChestSortPlugin
name: ChestSort
version: 8.17.4
version: 8.17.5
api-version: "1.13"
description: Allows automatic chest sorting
author: mfnalex