mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-06 14:46:32 +02:00
Update Essentials spawn to use new kit params.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user