use of dte.employme.containers.service.PlayerContainerService in project EmployMe by DavidTheExplorer.
the class ItemsReward method deserialize.
@SuppressWarnings("unchecked")
public static ItemsReward deserialize(Map<String, Object> serialized) {
List<ItemStack> items = (List<ItemStack>) serialized.get("Items");
PlayerContainerService playerContainerService = ServiceLocator.getInstance(PlayerContainerService.class);
return new ItemsReward(items, playerContainerService);
}
Aggregations