A few last minute changes
This commit is contained in:
parent
61cb569ffb
commit
55db2dd3ac
14 changed files with 278 additions and 43 deletions
|
@ -30,9 +30,11 @@ public class PlayerSacrificeHandler
|
|||
return false;
|
||||
}
|
||||
|
||||
amount = amount + Math.max(increment, max - amount);
|
||||
amount = amount + Math.min(increment, max - amount);
|
||||
setPlayerIncense(player, amount);
|
||||
|
||||
// System.out.println("Amount of incense: " + amount + ", Increment: " + increment);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue