Fix bug with preset groups

This commit is contained in:
Esophose 2019-12-28 19:02:29 -07:00
parent 909e00ba70
commit 05cd37c9d0
2 changed files with 4 additions and 2 deletions

View file

@ -36,7 +36,7 @@ public class GuiInventoryLoadPresetGroups extends GuiInventory {
int maxIndex = 43;
List<ParticleGroupPreset> groups = PlayerParticles.getInstance().getManager(ParticleGroupPresetManager.class).getPresetGroupsForPlayer(pplayer.getPlayer());
for (ParticleGroupPreset group : groups) {
if (!group.getGroup().canPlayerUse(player))
if (!group.canPlayerUse(player))
continue;
List<ParticlePair> particles = group.getGroup().getParticles();