Skip to content

Commit

Permalink
Fix config annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldexun committed Mar 8, 2023
1 parent 1352e77 commit b95f808
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.config.Config;
import net.minecraftforge.common.config.Config.RequiresMcRestart;
import net.minecraftforge.common.config.Config.RequiresWorldRestart;

public class ConfigPotionCore
{
Expand Down Expand Up @@ -68,15 +67,15 @@ public class ConfigPotionCore
@RLConfig.RLCraftTwoNine("true")
public boolean alternativeResistanceMode = true;

@RequiresWorldRestart
@RequiresMcRestart
@Config.Comment("Requires patchPotionCoreResistance patch! Resistance of the resistance potion attribute modifier.")
@Config.Name("Resistance Potion Modifier Amount")
@RLConfig.ImprovementsOnly("0.2")
@RLConfig.RLCraftTwoEightTwo("0.2")
@RLConfig.RLCraftTwoNine("0.2")
public double resistanceAmount = 0.2D;

@RequiresWorldRestart
@RequiresMcRestart
@Config.Comment("Requires patchPotionCoreResistance patch! Operation of the resistance potion attribute modifier.")
@Config.Name("Resistance Potion Modifier Operation")
@RLConfig.ImprovementsOnly("2")
Expand Down

0 comments on commit b95f808

Please sign in to comment.