Invalid key. Must be [a-z0-9/._-]: levelCooldown

This commit is contained in:
xGinko 2024-07-04 13:09:01 +02:00
parent ef8b6c884a
commit 7cf9e7d2de

View File

@ -78,6 +78,7 @@ public final class Keyring {
private final @NotNull NamespacedKey key; private final @NotNull NamespacedKey key;
AntiVillagerLag(@NotNull String avlKey) { AntiVillagerLag(@NotNull String avlKey) {
avlKey = avlKey.toLowerCase();
this.key = new NamespacedKey(Space.AntiVillagerLag.namespace(), avlKey); this.key = new NamespacedKey(Space.AntiVillagerLag.namespace(), avlKey);
} }