OSDN Git Service

あーうあーう
[chemicraft/chemicraft.git] / common / chemicraft / item / ItemGasCollectingBottle.java
index d4a47f2..83119a8 100644 (file)
@@ -25,9 +25,9 @@ public class ItemGasCollectingBottle extends ItemAtomInfoContainer
 
                int heightValue = par2World.getHeightValue((int) par3EntityPlayer.posX, (int) par3EntityPlayer.posZ);
 
-               int result1 = MathHelperPlus.instance.Probability(99, 1);
-               int result2 = MathHelperPlus.instance.Probability(78, 21, 1);
-               int result3 = MathHelperPlus.instance.Probability(0.032, 0.0018, 0.000012, 0.00052);
+               int result1 = MathHelperPlus.probability(99, 1);
+               int result2 = MathHelperPlus.probability(78, 21, 1);
+               int result3 = MathHelperPlus.probability(0.032, 0.0018, 0.000012, 0.00052);
                if (this.atomInfo.isOverY(heightValue)) {
                        if (result1 == 0) {
                                if (result2 == 0) {