@@ -199,8 +199,8 @@ internal virtual void Validate()
199
199
{
200
200
if ( this . Components . Count > 0 )
201
201
{
202
- HashSet < uint > ids = [ ] ;
203
- Dictionary < uint , List < string > > duplicateIds = [ ] ;
202
+ HashSet < int > ids = [ ] ;
203
+ Dictionary < int , List < string > > duplicateIds = [ ] ;
204
204
205
205
foreach ( var component in this . Components )
206
206
this . CheckComponentIds ( component , ids , duplicateIds ) ;
@@ -213,7 +213,7 @@ internal virtual void Validate()
213
213
}
214
214
}
215
215
216
- private void CheckComponentIds ( DiscordComponent component , HashSet < uint > ids , Dictionary < uint , List < string > > duplicateIds )
216
+ private void CheckComponentIds ( DiscordComponent component , HashSet < int > ids , Dictionary < int , List < string > > duplicateIds )
217
217
{
218
218
if ( component is DiscordActionRowComponent actionRowComponent )
219
219
foreach ( var actionRowComponentChild in actionRowComponent . Components )
@@ -245,7 +245,7 @@ private void CheckComponentIds(DiscordComponent component, HashSet<uint> ids, Di
245
245
this . AddId ( component , ids , duplicateIds ) ;
246
246
}
247
247
248
- private void AddId ( DiscordComponent component , HashSet < uint > ids , Dictionary < uint , List < string > > duplicateIds )
248
+ private void AddId ( DiscordComponent component , HashSet < int > ids , Dictionary < int , List < string > > duplicateIds )
249
249
{
250
250
if ( component . Id . HasValue )
251
251
{
0 commit comments