Get AutoMod to ignore .rpo files (#5616)
This commit is contained in:
@@ -336,7 +336,7 @@ impl AutomatedModerationQueue {
|
|||||||
|| file.name().starts_with("overrides/resourcepacks")
|
|| file.name().starts_with("overrides/resourcepacks")
|
||||||
|| file.name().starts_with("client-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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user