mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add check to IDDB bucketing
This commit is contained in:
@@ -239,8 +239,8 @@ namespace SabreTools.DatFiles
|
||||
/// <returns></returns>
|
||||
public void UpdateBucketBy(ItemKey bucketBy, bool lower = true, bool norename = true)
|
||||
{
|
||||
// If the bucketing value is the same
|
||||
if (bucketBy == _bucketedBy)
|
||||
// If the bucketing value is the same or null
|
||||
if (bucketBy == _bucketedBy || bucketBy == ItemKey.NULL)
|
||||
return;
|
||||
|
||||
// Reset the bucketing values
|
||||
|
||||
Reference in New Issue
Block a user