Random Enchants quality settings not applied #52
Labels
bug
Something isn't working
module
A bug, issue, or feature for a module
stygiancore
A bug, feature, or tool in the StygianCore repack
I haven't modified the default configuration, but I'm regularly getting gray items with enchantments.
When I look in
mod_randomenchants.conf.dist
, it is set to:However, when I look at the source code:
I believe the first test should be
(Quality < LowQuality || Quality > HighQuality)
as otherwise it will always be false as long asLowQuality <= HighQuality
(and it seems unlikely to me that the alternative, whereHighQuality < LowQuality
, is what you intended).The text was updated successfully, but these errors were encountered: