|
@@ -464,7 +464,7 @@ public class Config extends AutoUpdateConfigLoader {
|
|
|
*/
|
|
|
public boolean getDoubleDropsEnabled(PrimarySkillType skill, Material material) {
|
|
|
//TODO: Temporary measure to fix an exploit caused by a yet to be fixed Spigot bug (as of 7/3/2020)
|
|
|
- if(material.toString().contains("LILY_PAD"))
|
|
|
+ if(material.toString().equalsIgnoreCase("LILY_PAD"))
|
|
|
return false;
|
|
|
|
|
|
return config.getBoolean("Bonus_Drops." + StringUtils.getCapitalized(skill.toString()) + "." + StringUtils.getPrettyItemString(material).replace(" ", "_"));
|