Skip to content

Commit d2b1cf2

Browse files
edgyafAmyrAhmady
authored andcommitted
fix custom skin model id range
1 parent fc5b4c8 commit d2b1cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/Components/CustomModels/models.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ class CustomModelsComponent final : public ICustomModelsComponent, public Player
589589
return false;
590590
}
591591

592-
if (type == ModelType::Skin && !(id >= 20000 && id <= 30000))
592+
if (type == ModelType::Skin && !(id > 20000 && id <= 30000))
593593
return false;
594594
else if (type == ModelType::Object && !(id >= -30000 && id <= -1000))
595595
return false;

0 commit comments

Comments
 (0)