mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-02 15:43:22 +01:00
9.4.0 release
This commit is contained in:
parent
19c2c727bf
commit
238f48ac11
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 9.4.0
|
||||||
|
- Added support for more PlayerVault plugins (specifically EnderVaults)
|
||||||
|
|
||||||
## 9.3.0
|
## 9.3.0
|
||||||
- Added CraftBukkit compatibility (although I don't unterstand why anyone would prefer CraftBukkit over Spigot)
|
- Added CraftBukkit compatibility (although I don't unterstand why anyone would prefer CraftBukkit over Spigot)
|
||||||
|
|
||||||
|
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>9.3.0</version>
|
<version>9.4.0</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -14,7 +14,8 @@ public class PlayerVaultsHook {
|
|||||||
public boolean isPlayerVault(Inventory inv) {
|
public boolean isPlayerVault(Inventory inv) {
|
||||||
if(inv==null) return false;
|
if(inv==null) return false;
|
||||||
if(inv.getHolder()==null) return false;
|
if(inv.getHolder()==null) return false;
|
||||||
if(!main.getConfig().getBoolean("hook-playervaultsx",true)) return false;
|
if(!main.getConfig().getBoolean("hook-playervaults",true)) return false;
|
||||||
return inv.getHolder().getClass().getName().equals("com.drtshock.playervaults.vaultmanagement.VaultHolder");
|
return inv.getHolder().getClass().getName().equals("com.drtshock.playervaults.vaultmanagement.VaultHolder")
|
||||||
|
|| inv.getHolder().getClass().getName().equals("com.github.dig.endervaults.bukkit.vault.BukkitInventoryHolder");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -229,10 +229,10 @@ hook-inventorypages: true
|
|||||||
# backpacks and sort them like a regular chest.
|
# backpacks and sort them like a regular chest.
|
||||||
hook-minepacks: true
|
hook-minepacks: true
|
||||||
|
|
||||||
##### PlayerVaultsX #####
|
##### PlayerVaults and similar plugins #####
|
||||||
# When PlayerVaultsX is installed, ChestSort can sort your
|
# When PlayerVaults or similar plugins are installed, ChestSort can sort your
|
||||||
# player vaults just like regular chests.
|
# player vaults just like regular chests.
|
||||||
hook-playervaultsx: true
|
hook-playervaults: true
|
||||||
|
|
||||||
##### CrateReloaded #####
|
##### CrateReloaded #####
|
||||||
# Prevents the player from using hotkeys on a crate
|
# Prevents the player from using hotkeys on a crate
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
main: de.jeff_media.ChestSort.ChestSortPlugin
|
main: de.jeff_media.ChestSort.ChestSortPlugin
|
||||||
name: ChestSort
|
name: ChestSort
|
||||||
version: 9.3.0
|
version: 9.4.0
|
||||||
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