use of com.minecolonies.coremod.colony.requestsystem.resolvers.BuildingRequestResolver in project minecolonies by Minecolonies.
the class BuildingRequestResolverFactory method deserialize.
@NotNull
@Override
public BuildingRequestResolver deserialize(@NotNull final IFactoryController controller, @NotNull final NBTTagCompound nbt) {
final IToken token = controller.deserialize(nbt.getCompoundTag(NBT_TOKEN));
final ILocation location = controller.deserialize(nbt.getCompoundTag(NBT_LOCATION));
return new BuildingRequestResolver(location, token);
}
Aggregations