mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 19:54:44 +02:00
Custom mod support refactoring.
This commit is contained in:
@ -16,11 +16,11 @@ public class ShareHandler {
|
||||
public static double partyShareRange = Config.getInstance().getPartyShareRange();
|
||||
public static double partyShareBonus = Config.getInstance().getPartyShareBonus();
|
||||
|
||||
protected enum PartyShareType {
|
||||
NO_SHARE,
|
||||
RANDOM,
|
||||
EQUAL,
|
||||
};
|
||||
// protected enum PartyShareType {
|
||||
// NO_SHARE,
|
||||
// RANDOM,
|
||||
// EQUAL,
|
||||
// };
|
||||
|
||||
public static double checkXpSharing(int oldExp, Player player, Party party) {
|
||||
int newExp = oldExp;
|
||||
|
Reference in New Issue
Block a user