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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user