mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 10:36:09 +01:00
Match block names correctly in stage prompts
This commit is contained in:
parent
040ead52db
commit
bba87b3233
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user