forked from Upstream/mmocore
Solved Fishing Drop Item bug with weight.
This commit is contained in:
parent
f559d767d2
commit
1015a2444c
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user