mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-21 23:51:42 +01:00
Update Essentials spawn to use new kit params.
This commit is contained in:
parent
867bfbf1b8
commit
b065f4a05a
@ -123,7 +123,7 @@ public class EssentialsSpawnPlayerListener implements Listener
|
||||
try
|
||||
{
|
||||
final Map<String, Object> kit = ess.getSettings().getKit(kitName.toLowerCase(Locale.ENGLISH));
|
||||
final List<String> items = Kit.getItems(user, kit);
|
||||
final List<String> items = Kit.getItems(ess, user, kit);
|
||||
Kit.expandItems(ess, user, items);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Loading…
Reference in New Issue
Block a user