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>
|
/// <returns></returns>
|
||||||
public void UpdateBucketBy(ItemKey bucketBy, bool lower = true, bool norename = true)
|
public void UpdateBucketBy(ItemKey bucketBy, bool lower = true, bool norename = true)
|
||||||
{
|
{
|
||||||
// If the bucketing value is the same
|
// If the bucketing value is the same or null
|
||||||
if (bucketBy == _bucketedBy)
|
if (bucketBy == _bucketedBy || bucketBy == ItemKey.NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Reset the bucketing values
|
// Reset the bucketing values
|
||||||
|
|||||||
Reference in New Issue
Block a user