Solved Fishing Drop Item bug with weight.

This commit is contained in:
Ka0rX 2022-11-20 20:09:12 +01:00
parent f559d767d2
commit 1015a2444c

View File

@ -30,7 +30,7 @@ public class FishingDropItem implements Weighted {
*/ */
@Override @Override
public double getWeight() { public double getWeight() {
return dropItem.getWeight() <= 0 ? 1 : 0; return dropItem.getWeight() <= 0 ? 1 : dropItem.getWeight();
} }
public DropItem getItem() { public DropItem getItem() {