9
0
mirror of https://github.com/PSYCHEER/VanillaCustomizer.git synced 2025-12-30 12:29:17 +00:00

Deprecation fix and aliases

New aliases for main command
vcustomizer
vc
as vanillacustomizer for reload is a bit too long imho
This commit is contained in:
PSYCHEER
2025-02-16 13:55:48 +01:00
parent 201ce31710
commit a9fbb0b817
2 changed files with 2 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ public class Customization
for (String wildcard : ignoreInventoriesByTitle)
{
if (FilenameUtils.wildcardMatch(openInventory.getTitle(), wildcard))
if (FilenameUtils.wildcardMatch(openInventory.getTopInventory().getType().name(), wildcard))
return false;
}
}

View File

@@ -4,6 +4,7 @@ main: dev.lone.vanillacustomizer.Main
api-version: 1.13
commands:
vanillacustomizer:
aliases: [vcustomizer, vc]
description: Main admin plugin command
usage: /<command>
permission: "vanillacustomizer.admin"