From ca6cafaebd639725c241f615c18969c5962a296b Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 5 Jun 2012 10:32:04 -0400 Subject: [PATCH] Cleanup --- .../java/com/gmail/nossr50/datatypes/PlayerProfile.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java b/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java index daa25c55f..74abc0557 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java +++ b/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java @@ -1040,11 +1040,13 @@ public class PlayerProfile { } } - if(player.hasPermission("mcmmo.perks.xp.quadruple")) { + if (player.hasPermission("mcmmo.perks.xp.quadruple")) { xp = xp * 4; - } else if (player.hasPermission("mcmmo.perks.xp.triple")) { + } + else if (player.hasPermission("mcmmo.perks.xp.triple")) { xp = xp * 3; - } else if (player.hasPermission("mcmmo.perks.xp.double")) { + } + else if (player.hasPermission("mcmmo.perks.xp.double")) { xp = xp * 2; }