mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-13 06:05:36 +01:00
9.4.0 release
This commit is contained in:
parent
19c2c727bf
commit
238f48ac11
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 9.4.0
|
||||
- Added support for more PlayerVault plugins (specifically EnderVaults)
|
||||
|
||||
## 9.3.0
|
||||
- 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>
|
||||
<url>https://www.chestsort.de</url>
|
||||
<description>Automatically sorts your chests!</description>
|
||||
<version>9.3.0</version>
|
||||
<version>9.4.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
|
@ -14,7 +14,8 @@ public class PlayerVaultsHook {
|
||||
public boolean isPlayerVault(Inventory inv) {
|
||||
if(inv==null) return false;
|
||||
if(inv.getHolder()==null) return false;
|
||||
if(!main.getConfig().getBoolean("hook-playervaultsx",true)) return false;
|
||||
return inv.getHolder().getClass().getName().equals("com.drtshock.playervaults.vaultmanagement.VaultHolder");
|
||||
if(!main.getConfig().getBoolean("hook-playervaults",true)) return false;
|
||||
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.
|
||||
hook-minepacks: true
|
||||
|
||||
##### PlayerVaultsX #####
|
||||
# When PlayerVaultsX is installed, ChestSort can sort your
|
||||
##### PlayerVaults and similar plugins #####
|
||||
# When PlayerVaults or similar plugins are installed, ChestSort can sort your
|
||||
# player vaults just like regular chests.
|
||||
hook-playervaultsx: true
|
||||
hook-playervaults: true
|
||||
|
||||
##### CrateReloaded #####
|
||||
# Prevents the player from using hotkeys on a crate
|
||||
|
@ -1,6 +1,6 @@
|
||||
main: de.jeff_media.ChestSort.ChestSortPlugin
|
||||
name: ChestSort
|
||||
version: 9.3.0
|
||||
version: 9.4.0
|
||||
api-version: "1.13"
|
||||
description: Allows automatic chest sorting
|
||||
author: mfnalex
|
||||
|
Loading…
Reference in New Issue
Block a user