mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-09-27 14:59:09 +02:00
Fix potions not brewing as the correct type
This commit is contained in:
@@ -30,6 +30,6 @@ class PotionUtilTest {
|
||||
void testConvertLegacyNames() {
|
||||
final String potionTypeStr = "UNCRAFTABLE";
|
||||
final String converted = convertLegacyNames(potionTypeStr);
|
||||
assertEquals("WATER", converted);
|
||||
assertEquals("MUNDANE", converted);
|
||||
}
|
||||
}
|
@@ -16,7 +16,7 @@ public class ProbabilityTestUtils {
|
||||
System.out.println("Wins: " + winCount);
|
||||
System.out.println("Fails: " + (iterations - winCount));
|
||||
System.out.println("Percentage succeeded: " + successPercent + ", Expected: " + expectedWinPercent);
|
||||
assertEquals(expectedWinPercent, successPercent, 0.025D);
|
||||
assertEquals(expectedWinPercent, successPercent, 0.035D);
|
||||
System.out.println("Variance is within tolerance levels!");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user