mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-02-11 03:29:53 +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")) {
|
||||
guiIcon = Material.valueOf(groupSection.getString(stringId));
|
||||
guiIcon = Material.matchMaterial(groupSection.getString(stringId));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue