MobHunting

MobHunting

114k Downloads

Rounding error

SlimeDog opened this issue ยท 9 comments

commented

MH 4.5.5-b297 (and previous)

I have attempted to configure for integer-only values.

reward_rounding: 1.0
minimum_reward: 1.0

How does MH apply those configuration values to money commands? I can perform

/mh money drop 0.5

(or any other arbitrary decimal amount}. Should that be allowed, should it drop 1.0, or should it generate an error message?

Drops are reported as decimal value

commented

Fixed in v4.5.6

commented

MH 4.5.6

Drops are reported as decimal value:

You dropped 1.0

commented

Did you mean 1) "/mh money drop...." or 2) drops when mobs are killed?

  1. should be fixed in V4.5.6
  2. is fixed in next release/snapshot.
commented

/mh money drop 1

You dropped 1.0

commented

Okay, I had not seen that.

commented

Please help me testing build 299 (or newer)
http://jenkins.lindegaard.one:8180/job/MobHunting/

commented

Confirmed fixed: MH-4.5.7-b299.

commented

The amounts will be rounded in next release/snapshot.

commented

Thank you. You are always responsive. It's much appreciated.