From ad36e2cc7e1ad654bce7956f4870f14f4f27c389 Mon Sep 17 00:00:00 2001
From: Zoey76 <zoey_76@msn.com>
Date: Fri, 17 Mar 2017 20:23:06 -0300
Subject: [PATCH] Minor cleanup

---
 .../data/scripts/handlers/effecthandlers/BlockBuffSlot.java     | 2 +-
 .../game/data/scripts/handlers/effecthandlers/DispelBySlot.java | 2 +-
 .../handlers/effecthandlers/DispelBySlotProbability.java        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dist/game/data/scripts/handlers/effecthandlers/BlockBuffSlot.java b/dist/game/data/scripts/handlers/effecthandlers/BlockBuffSlot.java
index 7ae0f94f99..45973a08eb 100644
--- a/dist/game/data/scripts/handlers/effecthandlers/BlockBuffSlot.java
+++ b/dist/game/data/scripts/handlers/effecthandlers/BlockBuffSlot.java
@@ -46,7 +46,7 @@ public final class BlockBuffSlot extends AbstractEffect
 			_blockBuffSlots = new HashSet<>();
 			for (String slot : blockBuffSlots.split(";"))
 			{
-				_blockBuffSlots.add(AbnormalType.getAbnormalType(slot));
+				_blockBuffSlots.add(AbnormalType.valueOf(slot));
 			}
 		}
 		else
diff --git a/dist/game/data/scripts/handlers/effecthandlers/DispelBySlot.java b/dist/game/data/scripts/handlers/effecthandlers/DispelBySlot.java
index c455426869..97982c1521 100644
--- a/dist/game/data/scripts/handlers/effecthandlers/DispelBySlot.java
+++ b/dist/game/data/scripts/handlers/effecthandlers/DispelBySlot.java
@@ -52,7 +52,7 @@ public final class DispelBySlot extends AbstractEffect
 			for (String ngtStack : _dispel.split(";"))
 			{
 				String[] ngt = ngtStack.split(",");
-				_dispelAbnormals.put(AbnormalType.getAbnormalType(ngt[0]), Short.parseShort(ngt[1]));
+				_dispelAbnormals.put(AbnormalType.valueOf(ngt[0]), Short.parseShort(ngt[1]));
 			}
 		}
 		else
diff --git a/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java b/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java
index 7272c9a591..9bbdf557ca 100644
--- a/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java
+++ b/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java
@@ -55,7 +55,7 @@ public final class DispelBySlotProbability extends AbstractEffect
 			for (String ngtStack : _dispel.split(";"))
 			{
 				String[] ngt = ngtStack.split(",");
-				_dispelAbnormals.put(AbnormalType.getAbnormalType(ngt[0]), (ngt.length > 1) ? Short.parseShort(ngt[1]) : Short.MAX_VALUE);
+				_dispelAbnormals.put(AbnormalType.valueOf(ngt[0]), (ngt.length > 1) ? Short.parseShort(ngt[1]) : Short.MAX_VALUE);
 			}
 		}
 		else
-- 
GitLab