diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
index ff46e2dcd5..27bbae841c 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
@@ -537,7 +537,7 @@ public class NpcViewMod implements IBypassHandler
sb.append("
| Chance: | ");
sb.append("");
- sb.append(chanceFormat.format(Math.min((long) dropItem.getChance() * rateChance, 100)));
+ sb.append(chanceFormat.format(Math.min(dropItem.getChance() * rateChance, 100)));
sb.append("% |
| |
");
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
index ff46e2dcd5..27bbae841c 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
@@ -537,7 +537,7 @@ public class NpcViewMod implements IBypassHandler
sb.append("| Chance: | ");
sb.append("");
- sb.append(chanceFormat.format(Math.min((long) dropItem.getChance() * rateChance, 100)));
+ sb.append(chanceFormat.format(Math.min(dropItem.getChance() * rateChance, 100)));
sb.append("% |
| |
");
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
index ff46e2dcd5..27bbae841c 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
@@ -537,7 +537,7 @@ public class NpcViewMod implements IBypassHandler
sb.append("| Chance: | ");
sb.append("");
- sb.append(chanceFormat.format(Math.min((long) dropItem.getChance() * rateChance, 100)));
+ sb.append(chanceFormat.format(Math.min(dropItem.getChance() * rateChance, 100)));
sb.append("% |
| |
");
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
index ff46e2dcd5..27bbae841c 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
@@ -537,7 +537,7 @@ public class NpcViewMod implements IBypassHandler
sb.append("| Chance: | ");
sb.append("");
- sb.append(chanceFormat.format(Math.min((long) dropItem.getChance() * rateChance, 100)));
+ sb.append(chanceFormat.format(Math.min(dropItem.getChance() * rateChance, 100)));
sb.append("% |
| |
");
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
index 90532aeefa..3fc8a6c1d8 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
@@ -403,7 +403,7 @@ public class NpcViewMod implements IBypassHandler
sb.append("| Chance: | ");
sb.append("");
- sb.append(chanceFormat.format(Math.min((long) dropItem.getChance() * rateChance, 100)));
+ sb.append(chanceFormat.format(Math.min(dropItem.getChance() * rateChance, 100)));
sb.append("% |
| |
");
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
index ff46e2dcd5..27bbae841c 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/NpcViewMod.java
@@ -537,7 +537,7 @@ public class NpcViewMod implements IBypassHandler
sb.append("| Chance: | ");
sb.append("");
- sb.append(chanceFormat.format(Math.min((long) dropItem.getChance() * rateChance, 100)));
+ sb.append(chanceFormat.format(Math.min(dropItem.getChance() * rateChance, 100)));
sb.append("% |
| |
");
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?