mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-02-11 11:40:21 +00:00
Use Material.matchMaterial instead of Material.valueOf
This commit is contained in:
parent
631db42937
commit
e7190a57fe
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public class ParticleGroupPresetManager extends Manager {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stringId.equalsIgnoreCase("gui-icon")) {
|
if (stringId.equalsIgnoreCase("gui-icon")) {
|
||||||
guiIcon = Material.valueOf(groupSection.getString(stringId));
|
guiIcon = Material.matchMaterial(groupSection.getString(stringId));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue