From bba87b32333dbe70b99e9e0948466a2e152fb53e Mon Sep 17 00:00:00 2001 From: HappyPikachu Date: Wed, 18 Feb 2015 13:00:53 -0500 Subject: [PATCH] Match block names correctly in stage prompts --- .../blackvein/quests/prompts/CreateStagePrompt.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java b/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java index b07ff2aa5..3368bdbf5 100644 --- a/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java +++ b/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java @@ -814,7 +814,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { try { - if (Material.getMaterial(s) != null) { + if (Material.matchMaterial(s) != null) { if (names.contains(s) == false) { names.add(s); @@ -1008,7 +1008,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { try { - if (Material.getMaterial(s) != null) { + if (Material.matchMaterial(s) != null) { if (names.contains(s) == false) { names.add(s); @@ -1202,7 +1202,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { try { - if (Material.getMaterial(s) != null) { + if (Material.matchMaterial(s) != null) { if (names.contains(s) == false) { names.add(s); @@ -1396,7 +1396,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { try { - if (Material.getMaterial(s) != null) { + if (Material.matchMaterial(s) != null) { if (names.contains(s) == false) { names.add(s); @@ -1590,7 +1590,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { try { - if (Material.getMaterial(s) != null) { + if (Material.matchMaterial(s) != null) { if (names.contains(s) == false) { names.add(s); @@ -1934,7 +1934,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { try { - if (Material.getMaterial(s) != null) { + if (Material.matchMaterial(s) != null) { if (names.contains(s) == false) { names.add(s);