mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2025-01-20 23:21:26 +01:00
8.17.5 release
This commit is contained in:
parent
a953913bcc
commit
2df5959fac
@ -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)
|
||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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")) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user