mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-06 04:23:06 +00:00
Fix bug with preset groups
This commit is contained in:
parent
909e00ba70
commit
05cd37c9d0
2 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue