Get AutoMod to ignore .rpo files (#5616)

This commit is contained in:
aecsocket
2026-03-19 00:16:30 +00:00
committed by GitHub
parent 922b72d1a4
commit 3b604cfdc0

View File

@@ -336,7 +336,7 @@ impl AutomatedModerationQueue {
|| file.name().starts_with("overrides/resourcepacks")
|| file.name().starts_with("client-overrides/resourcepacks")
{
if file.name().matches('/').count() > 2 || file.name().ends_with(".txt") {
if file.name().matches('/').count() > 2 || file.name().ends_with(".txt") || file.name().ends_with(".rpo") {
continue;
}